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


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

        

Reply via email to