Skip to content

Commit 026e34f

Browse files
committed
Merge branch 'master' of github.com:sonatype/async-http-client
2 parents ddd77a0 + 6ced4b8 commit 026e34f

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)