camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Mueller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-2452) HttpHeaderFilterStrategy dosn't filters out 'Cache-Control', 'Connection', 'Pragma', 'Trailer', 'Transfer-Encoding', 'Upgrade', 'Via' and 'Warning' in method applyFilterToCamelHeaders
Date Tue, 02 Nov 2010 22:24:00 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62976#action_62976
] 

Christian Mueller commented on CAMEL-2452:
------------------------------------------

I don't see any problems with this code. The patch changed the camel case headers to lower
case headers because HttpHeaderFilterStrategy set lower case to true and compares the lower
case String of "Transfer-Encoding" which is "transfer-encoding" with the filter entry which
is also "transfer-encoding". What is your problem in concrete?

Cheers,
Christian

> HttpHeaderFilterStrategy dosn't filters out 'Cache-Control', 'Connection', 'Pragma',
'Trailer', 'Transfer-Encoding', 'Upgrade', 'Via' and 'Warning' in method applyFilterToCamelHeaders
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2452
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2452
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-http
>    Affects Versions: 2.1.0
>         Environment: All
>            Reporter: Christian Mueller
>            Assignee: Christian Mueller
>             Fix For: 2.3.0
>
>         Attachments: HttpHeaderFilterStrategy.patch, HttpHeaderFilterStrategyTest.patch
>
>
> HttpHeaderFilterStrategy uses the HTTP headers with upper case characters on the beginning
(e. g. 'Transfer-Encoding' instead of 'transfer-encoding').

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


Mime
View raw message