HTTPCLIENT-1665: MultipartEntity to use US-ASCII charset by default (regression)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1709523 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2f062b3b43
commit
8e6ab0bdb8
|
@ -70,7 +70,7 @@ public class MultipartEntity implements HttpEntity {
|
|||
super();
|
||||
this.builder = new MultipartEntityBuilder()
|
||||
.setMode(mode)
|
||||
.setCharset(charset)
|
||||
.setCharset(charset != null ? charset : MIME.DEFAULT_CHARSET)
|
||||
.setBoundary(boundary);
|
||||
this.entity = null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue