Hi

We love contributions. So if you want to help out and provide a patch,
that would be cool.

I am sure restlet support posting data in different encodings.
Could you create a JIRA ticket, and point out where the hardcoded
encoding is in the camel-restlet component.



On Sun, Apr 11, 2010 at 1:49 PM, Bee1000 <[email protected]> wrote:
>
> Using http does work, but it still seems like a bug to hard code the encoding
> of post data for restlet.  I thought post data could be any text or binary
> data.  It seems like this reduces the usefulness of the restlet camel
> component.  Just out of curiosity, is there another reason why the encoding
> is hardcoded?  (Perhaps to be more precise, the message body is being
> encoded in the RESTLET component, which for POST means that post data is
> being encoded.)
>
>
>
> willem.jiang wrote:
>>
>> Hi,
>>
>> I think you can try to use Camel-Http component, which is leverage
>> common http client to invoke the http service.
>>
>> Willem
>>
>> Bee1000 wrote:
>>> I'm trying to post documents to couchdb using restlet but the restlet
>>> component is hard coded to url encode the post data.  This makes the JSON
>>> text i'm posting invalid.  Do I need to use some other component or is
>>> there
>>> a way around this?
>>
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/Restlet-url-encoding-post-data--tp28197024p28208067.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to