You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Martin (Jira)" <ji...@apache.org> on 2022/02/15 16:35:00 UTC

[jira] [Created] (CXF-8657) Headers are copied as case sensitive in MessageContextImpl

Martin created CXF-8657:
---------------------------

             Summary: Headers are copied as case sensitive in MessageContextImpl
                 Key: CXF-8657
                 URL: https://issues.apache.org/jira/browse/CXF-8657
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 3.5.0
            Reporter: Martin


This copying of the headers in MessageContextImpl creates a case sensitive headers map:

{{MultivaluedMap<String, String> rootHeaders = {color:#000080}new {color}MetadataMap<>(root.getHeaders());}}

This certainly breaks something - I've for example stumbled upon the map containing "Content-Id" header and AttachmentSerializer looking for "Content-ID" and not finding it.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)