Return-Path: Delivered-To: apmail-jakarta-httpcomponents-dev-archive@www.apache.org Received: (qmail 14601 invoked from network); 7 Nov 2007 08:23:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2007 08:23:12 -0000 Received: (qmail 2086 invoked by uid 500); 7 Nov 2007 08:22:59 -0000 Delivered-To: apmail-jakarta-httpcomponents-dev-archive@jakarta.apache.org Received: (qmail 2049 invoked by uid 500); 7 Nov 2007 08:22:59 -0000 Mailing-List: contact httpcomponents-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list httpcomponents-dev@jakarta.apache.org Received: (qmail 2040 invoked by uid 99); 7 Nov 2007 08:22:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 00:22:59 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 08:23:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9FC7171420A for ; Wed, 7 Nov 2007 00:22:50 -0800 (PST) Message-ID: <18574099.1194423770636.JavaMail.jira@brutus> Date: Wed, 7 Nov 2007 00:22:50 -0800 (PST) From: =?utf-8?Q?Ortwin_Gl=C3=BCck_=28JIRA=29?= To: httpcomponents-dev@jakarta.apache.org Subject: [jira] Commented: (HTTPCLIENT-317) HTTP Client doesn't support multipart/related content-type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-317?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540696 ]= =20 Ortwin Gl=C3=BCck commented on HTTPCLIENT-317: ----------------------------------------- Michael, > String mimeType =3D "application/soap+xml"; // or "text/xml\", or doesn't= actually matter? > return "multipart/related; type=3D\"" + mimeType + "\"; start=3D\"" + ROO= TPART_NAME + "\"; " + header.substring( ix ); AFAIK it makes no sense to specify a type attribute. The MIME type of this = part is multipart/related, period. It is a container whose body (beofre the= boundary) is usually just empty (or contains a dummy string), and there is= no need to specify the type of this emtpyness.=20 It is also incorrect to reuse the MIME boundary of the parent. It is a new = container and must therefore start with a new boundary string (and close th= e boundary after the container ends). > HTTP Client doesn't support multipart/related content-type > ---------------------------------------------------------- > > Key: HTTPCLIENT-317 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-317 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: HttpClient > Affects Versions: 2.0 Final > Environment: Operating System: Windows XP > Platform: PC > Reporter: peter > Priority: Minor > Fix For: 4.0 Final > > > It is not possible to sent data easely as a multipart/related content-typ= e (as=20 > discribed in rfc 2387) using Http Client. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org