You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2014/06/03 16:13:01 UTC

[jira] [Resolved] (HTTPCLIENT-1503) Allow MultipartEntityBuilder to create "multipart/mixed" entity

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-1503.
-------------------------------------------

    Resolution: Fixed

Implemented in SVN trunk. Please review.

Oleg

> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org