You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Jeremy Norris (JIRA)" <ji...@apache.org> on 2010/04/25 06:41:23 UTC
[jira] Updated: (CAMEL-1806) put the query parameters into the
message header
[ 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.