[
https://issues.apache.org/jira/browse/CXF-8657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andriy Redko resolved CXF-8657.
-------------------------------
Resolution: Fixed
> 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, 3.3.12, 3.4.5
> Reporter: Martin
> Assignee: Andriy Redko
> Priority: Major
> Fix For: 3.4.6, 3.5.1, 4.0.0
>
>
> 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)