Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

file upload bugfixing

  • Loading branch information...
commit e6c25ffe5f12231c8e00510c8edb0d8b7d77cbd4 1 parent 5aac74a
@mjr27 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  rest.js
View
2  rest.js
@@ -188,7 +188,7 @@ function parseMultipartData(request){
ctype = request.headers['content-type'];
m = ctype.match(/^.*;\s+boundary=(.*)$/);
if(m){
- var parts = [], post = {}, files = [];
+ var parts = [], post = {}, files = {};
var boundary = m[1];
var content = splitBinary(request.data,boundary);
Please sign in to comment.
Something went wrong with that request. Please try again.