Hi Wayne,

I'm not sure we need to populate the headers for the HTTP PUT method.
Can you point me out if there any specification for it ?

Willem

Wayne Keenan wrote:
Hi Willem,

Thanks very much, I can confirm that with 2.2-SNAPSHOT I can obtain the URI
QUERY parameters from the camel header(s) when POSTing content-type of
application/octet-stream.

I did notice that a HTTP PUT doesn't populate the headers with the URI Query
parameter

Regards
Wayne

On Fri, Jan 22, 2010 at 1:07 PM, Willem Jiang <[email protected]>wrote:

Hi Wayne,

I commit a patch of CAMEL-2386, please check out the last
camel-2.2-SNAPSHOT to verify it :)

Willem


Willem Jiang wrote:

I just did a quick test on camel trunk, you can get the URL parameters by
using the
exchange.getIn().getHeader(Exchange.HTTP_QUERY)
When you post the binary data with URI Query.

I just took a look at camel-http and found we could parser the URL
parameter for the post method.

So I created a JIRA[1] and will submit a quick fix for it.

[1] https://issues.apache.org/activemq/browse/CAMEL-2386

Willem




Reply via email to