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 14:59:17 UTC
[jira] [Resolved] (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:all-tabpanel ]
Willem Jiang resolved CAMEL-6926.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.13.0
2.12.2
2.11.3
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)