camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CAMEL-6926) ContentType does not returns "multipart/form-data;boundary=---------------------------j2radvtrk"
Date Wed, 06 Nov 2013 14:01:18 GMT

    [ 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)

Mime
View raw message