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

Stefan Seifert reassigned SLING-7482:
-------------------------------------

    Assignee: Stefan Seifert

> MockSlingHttpServletResponse.getHeaders is case sensitive
> ---------------------------------------------------------
>
>                 Key: SLING-7482
>                 URL: https://issues.apache.org/jira/browse/SLING-7482
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>    Affects Versions: Servlet Helpers 1.1.0
>            Reporter: Hans-Peter Stoerr
>            Assignee: Stefan Seifert
>            Priority: Minor
>
> A call to 
> org.apache.sling.servlethelpers.MockSlingHttpServletResponse.getHeaders is 
> case sensitive wrt. the header name. This contradicts the HTTP protocol, 
> which specifies them as case-insensitive.
> The root of this is that 
> org.apache.sling.servlethelpers.HeaderSupport.getHeaders uses equals instead 
> of equalsIgnoreCase: see 
> https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/servlet-helpers/src/main/java/org/apache/sling/servlethelpers/HeaderSupport.java



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to