You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Grégoire A. (JIRA)" <ji...@apache.org> on 2007/01/02 11:09:48 UTC

[jira] Updated: (SM-795) HTTP headers attached as properties may cause requests to fail

     [ https://issues.apache.org/activemq/browse/SM-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grégoire A. updated SM-795:
---------------------------

    Attachment: SM-795.patch

> HTTP headers attached as properties may cause requests to fail
> --------------------------------------------------------------
>
>                 Key: SM-795
>                 URL: https://issues.apache.org/activemq/browse/SM-795
>             Project: ServiceMix
>          Issue Type: Improvement
>    Affects Versions: 3.1
>         Environment: W2KS, JDK1.5
>            Reporter: Maxim Y. Tebenev
>         Attachments: SM-795.patch
>
>
> When SMX receives HTTP response from provider HTTP endpoint it attaches HTTP headers as message properties. When forwarding the message to another provider endpoint the properties goes as HTTP headers in request. For example, the following request to the second provider endpoint will have following headers:
> POST /DeliveryService/DeliveryService HTTP/1.1
> Date: Wed, 27 Dec 2006 13:24:46 GMT
> Server: Apache-Coyote/1.1
> Transfer-Encoding: chunked
> Content-Type: text/xml
> Content-Length: 359
> SOAPAction: ""
> User-Agent: Jakarta Commons-HttpClient/3.0
> Host: localhost:8082
> Server, Date and Transfer-Encoding headers are illegal in client request and cause Apache Tomcat server to fail with 500 error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira