[
https://issues.apache.org/activemq/browse/CAMEL-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59080#action_59080
]
Willem Jiang commented on CAMEL-1806:
-------------------------------------
Hi Jeremy
I went through your HttpBindingPreservePostFormUrlEncodedBody.java and found
something.
You need to use the request.getCharacterEncoding() to check the message body
instead of using "UTF-8" directly.
I just broke the readRequst() Method of DefaultHttpBinding into some smaller
methods, you can choice if you want populate the message headers from the
request parameters.
> put the query parameters into the message header
> ------------------------------------------------
>
> Key: CAMEL-1806
> URL: https://issues.apache.org/activemq/browse/CAMEL-1806
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-http
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 1.6.2, 2.0.0
>
> Attachments: HttpBindingPreservePostFormUrlEncodedBody.java,
> TestHttpBindingPreservePostFormUrlEncodedBody.java
>
>
> We will have the query parameter with POST and GET method.
> But current Camel just support to put these parameters into the message
> header with the http GET method.
> Here is the user requirement of this[1], we should add this support in Camel.
> [1] http://www.nabble.com/Jetty-component-and-HTTP-parameter-to24287116.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.