Skip to content

Commit

Permalink
XHR, Silverlight: f035c7e.
Browse files Browse the repository at this point in the history
  • Loading branch information
jayarjo committed Jan 15, 2014
1 parent 4d5bbd2 commit 0b53a99
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
Binary file modified bin/silverlight/Moxie.cdn.xap
Binary file not shown.
Binary file modified bin/silverlight/Moxie.min.xap
Binary file not shown.
Binary file modified bin/silverlight/Moxie.xap
Binary file not shown.
2 changes: 1 addition & 1 deletion src/silverlight/Com/XMLHttpRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public void send(ScriptObject args, object blob = null)
header +=
dashdash + boundary + crlf +
"Content-Disposition: form-data; name=\"" + _blobFieldName + "\"; filename=\"" + _blobName + '"' +
crlf + "Content-Type: " + _options["mimeType"] + crlf + crlf;
crlf + "Content-Type: " + (!String.IsNullOrEmpty(_options["mimeType"]) ? _options["mimeType"] : "application/octet-stream") + crlf + crlf;
}

_multipartHeader = _stringToByteArray(header);
Expand Down

0 comments on commit 0b53a99

Please sign in to comment.