hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rainer Schnitker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1503) Allow MultipartEntityBuilder to create "multipart/mixed" entity
Date Tue, 03 Jun 2014 14:41:02 GMT

    [ 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


Mime
View raw message