Skip to content

Commit 6ced4b8

Browse files
committed
More work on AHC 78 thanks to Dominic Tootell
1 parent af85a94 commit 6ced4b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ning/http/multipart/MultipartBody.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ private FilePart generateClientFilePart(com.ning.http.client.Part part)
377377
private StringPart generateClientStringpart(com.ning.http.client.Part part) {
378378
com.ning.http.client.StringPart stringPart = (com.ning.http.client.StringPart) part;
379379

380-
StringPart currentPart = new StringPart(stringPart.getName(), stringPart.getValue());
380+
StringPart currentPart = new StringPart(stringPart.getName(), stringPart.getValue(), stringPart.getCharset());
381381
return currentPart;
382382
}
383383

0 commit comments

Comments
 (0)