HttpHeaderFilterStrategy tries to filter out "http.requestMethod" but doesn't
-----------------------------------------------------------------------------

                 Key: CAMEL-1352
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1352
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-http
    Affects Versions: 1.6.0
            Reporter: Trev
            Priority: Minor


I actually found this in 1.5.0, but a quick look in ViewVC indicates that it 
still happens in 1.6.0 and in the trunk.

HttpHeaderFilterStrategy uses String.toLowerCase on "http.responseCode" because 
of the capital C.

It should also use toLowerCase on "http.requestMethod" because of the capital 
M, but it doesn't.

Thus the http.requestMethod header leaks into the HTTP protocol headers.

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

Reply via email to