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] [Created] (HTTPCLIENT-1503) Allow MultipartEntityBuilder to create "multipart/mixed" entity
Date Mon, 05 May 2014 13:35:15 GMT
Rainer Schnitker created HTTPCLIENT-1503:
--------------------------------------------

             Summary: 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


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