[ https://issues.apache.org/activemq/browse/CAMEL-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremy Norris updated CAMEL-1806: --------------------------------- Attachment: HttpBindingPreservePostFormUrlEncodedBody.java TestHttpBindingPreservePostFormUrlEncodedBody.java In order to preserve the message body during "application/x-www-form-urlencoded" POSTs (for the purpose of proxying http endpoints), I've come up the following solution: This still propagates the form params to the message headers, but the body is preserved. Feedback is appreciated. Thanks. (Attached is HttpBinding implementation and an associated unit test). > 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.