Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CFDA311771 for ; Mon, 5 May 2014 13:35:18 +0000 (UTC) Received: (qmail 83910 invoked by uid 500); 5 May 2014 13:35:17 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 83373 invoked by uid 500); 5 May 2014 13:35:16 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 83274 invoked by uid 99); 5 May 2014 13:35:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2014 13:35:15 +0000 Date: Mon, 5 May 2014 13:35:15 +0000 (UTC) From: "Rainer Schnitker (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HTTPCLIENT-1503) Allow MultipartEntityBuilder to create "multipart/mixed" entity MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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