Skip to content

Commit

Permalink
Merge pull request #7358 from ashcoding/TIMOB-19817
Browse files Browse the repository at this point in the history
[TIMOB-19817] Android: HTTPClient multipart header error
  • Loading branch information
hieupham007 committed Oct 28, 2015
2 parents 38b6664 + 661e9ca commit f300697
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ private void addFilePart(String name, ContentBody contentBody) throws IOExceptio
printWriter.append("--" + boundary).append(LINE_FEED);
printWriter.append("Content-Disposition: form-data; name=\"" + name + "\"");
if (fileName != null) {
printWriter.append("\"; filename=\"" + fileName + "\"");
printWriter.append("; filename=\"" + fileName + "\"");
}
printWriter.append(LINE_FEED);
String mimeType = contentBody.getMimeType();
Expand Down

0 comments on commit f300697

Please sign in to comment.