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

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

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14016562#comment-14016562 ] 

Rainer Schnitker commented on HTTPCLIENT-1503:
----------------------------------------------

Great. Issure can be closed.

> 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