[
https://issues.apache.org/activemq/browse/CAMEL-2638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
William Tam resolved CAMEL-2638.
--------------------------------
Fix Version/s: 2.3.0
Resolution: Fixed
Patch applied with thanks to Rich Bolen.
Committed revision 936136.
> Restlet component is URL encoding the POST message body. It should encode it
> based on content-type request header.
> -------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-2638
> URL: https://issues.apache.org/activemq/browse/CAMEL-2638
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-restlet
> Affects Versions: 2.1.0
> Environment: Windows XP
> Reporter: Rich Bolen
> Assignee: William Tam
> Fix For: 2.3.0
>
> Attachments: camel-restlet-CAMEL-2638.patch
>
> Original Estimate: 1 week
> Remaining Estimate: 1 week
>
> I attempted to POST a JSON document to couchdb via restlet. The post fails
> with and "Invalid JSON format" error from couchdb. This is because the POST
> data was being URL encoded which substitutes %XX sequences for all the curly
> braces. I believe the encoding should be done based on the content-type
> header, or possibly not at all for POST requests.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.