You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/11/06 15:01:18 UTC
[jira] [Comment Edited] (CAMEL-6926) ContentType does not returns
"multipart/form-data;boundary=---------------------------j2radvtrk"
[ 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)