Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6260A10670 for ; Wed, 6 Nov 2013 14:01:27 +0000 (UTC) Received: (qmail 89536 invoked by uid 500); 6 Nov 2013 14:01:20 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 89495 invoked by uid 500); 6 Nov 2013 14:01:18 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 89479 invoked by uid 99); 6 Nov 2013 14:01:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 14:01:18 +0000 Date: Wed, 6 Nov 2013 14:01:18 +0000 (UTC) From: "Willem Jiang (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CAMEL-6926) ContentType does not returns "multipart/form-data;boundary=---------------------------j2radvtrk" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-6926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814902#comment-13814902 ] Willem Jiang edited comment on CAMEL-6926 at 11/6/13 1:59 PM: -------------------------------------------------------------- Applied the patch into master, camel-2.12.x and camel-2.11.x branches with thanks to Amit. I also added an unit test to verify the patch. was (Author: njiang): Applied the patch into master, camel-2.12.x and camel-2.11.x branches. > ContentType does not returns "multipart/form-data;boundary=---------------------------j2radvtrk" > ------------------------------------------------------------------------------------------------ > > Key: CAMEL-6926 > URL: https://issues.apache.org/jira/browse/CAMEL-6926 > Project: Camel > Issue Type: Bug > Components: camel-http4 > Affects Versions: 2.11.2 > Reporter: Amit Patel > Assignee: Willem Jiang > Priority: Minor > Fix For: 2.11.3, 2.12.2, 2.13.0 > > Attachments: HttpProducerPatch > > > I found the issue in camel-http4 component. The HttpProducer.createRequestEntity method has been changed to parse the contentType. The ContentType.parse method returns "multipart/form-data" > instead of "multipart/form-data;boundary=---------------------------j2radvtrk". If you change HttpProducer.createRequestEntity to use ContentType.create method it works fine. > http://camel.465427.n5.nabble.com/Camel-HTTP4-2-11-2-ContentType-does-not-returns-quot-multipart-form-data-boundary-j2radvtrk-quot-tc5742407.html -- This message was sent by Atlassian JIRA (v6.1#6144)