camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Kalukiewicz (JIRA)" <>
Subject [jira] Commented: (CAMEL-254) Support for http request headers for http component
Date Tue, 04 Dec 2007 09:56:27 GMT


Roman Kalukiewicz commented on CAMEL-254:

Maybe we should exclude some of headers by default like content-length or host? On the other
hand maybe it will be required by someone?
Or maybe some flag?

To show the problem there is a code snippet that could lead to a problem:

After first http invocation we have {{content-length}} header set and when we execute the
second http endpoint this header is propagated and {{/b}} endpoint is fooled by wrong value
in {{content-length}} header.

On the other hand maybe it is a feature we shouldn't worry about -- header set, header used..

> Support for http request headers for http component
> ---------------------------------------------------
>                 Key: CAMEL-254
>                 URL:
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-http
>            Reporter: Roman Kalukiewicz
>         Attachments: http-headers.patch
> Now there is no way to set http request headers via camel headers while  response headers
are available.
> This functionality is required when we want to send SOAP request via http component as
there is SOAPAction header required.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message