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

Romain Manni-Bucau commented on CXF-4280:
-----------------------------------------

if i remind correctly if the header key is tested in lowercase it fails because 
it is stored with some upper case ("Content-Type").
                
> case insensitive MetadataMap keyset
> -----------------------------------
>
>                 Key: CXF-4280
>                 URL: https://issues.apache.org/jira/browse/CXF-4280
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.5.3
>            Reporter: Romain Manni-Bucau
>
> while working on TCK for openejb/tomee we needed to do it:
> public class PatchedMetadataMap extends MetadataMap<String, String> {
>     public PatchedMetadataMap(Map<String, List<String>> store, boolean ro, 
> boolean ci) {
>         super(store, ro, ci);
>     }
>     public Set<String> keySet() {
>         Set<String> set = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER);
>         set.addAll(super.keySet());
>         return set;
>     }
> }
> any way to merge it in cxf?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to