[ https://issues.apache.org/jira/browse/CXF-8657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17492854#comment-17492854 ]
Andriy Redko commented on CXF-8657: ----------------------------------- Thanks for reporting it [~Svorc] , indeed the {{MetadataMap }}should be case insensitive > 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 > Priority: Major > > 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)