You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2019/11/07 15:19:00 UTC

[jira] [Commented] (KNOX-2103) Dispatch responseExcludeHeaders is only applied when it is all upper-case

    [ https://issues.apache.org/jira/browse/KNOX-2103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16969343#comment-16969343 ] 

Kevin Risden commented on KNOX-2103:
------------------------------------

Headers are definitely case insensitive so this should be addressed:

https://stackoverflow.com/questions/5258977/are-http-headers-case-sensitive

> Dispatch responseExcludeHeaders is only applied when it is all upper-case
> -------------------------------------------------------------------------
>
>                 Key: KNOX-2103
>                 URL: https://issues.apache.org/jira/browse/KNOX-2103
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: In Park
>            Priority: Trivial
>
> Dispatch responseExcludeHeaders is only applied when it is all upper-case as below:
> {code:java}
> <dispatch classname="org.apache.knox.gateway.dispatch.ConfigurableDispatch">
>     <param>
>         <name>responseExcludeHeaders</name>
>         <value>CONTENT-LENGTH</value>
>     </param>
> </dispatch>
> {code}
> This is not consistent with the way how requestExcludeHeaders work. 
> Expected result: responseExcludeHeaders should be case-insensitive.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)