[
https://issues.apache.org/jira/browse/HTTPCLIENT-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski updated HTTPCLIENT-1503:
------------------------------------------
Fix Version/s: 4.4 Alpha1
> Allow MultipartEntityBuilder to create "multipart/mixed" entity
> ---------------------------------------------------------------
>
> Key: HTTPCLIENT-1503
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1503
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpMime
> Affects Versions: 4.3.3
> Reporter: Rainer Schnitker
> Fix For: 4.4 Alpha1
>
>
> The MultipartEntityBuilder does not allow to set the subType and the
> generated Content-Type.
> Part1:
> public MultipartEntityBuilderFixed setType(final String subType) {
> this.subType = subType;
> return this;
> }
> Part2:
> private String generateContentType(final String boundary, final Charset
> charset) {
> ...
> buffer.append("multipart/" + this.subType + "; boundary=");
> ...
> }
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]