cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6970) HTTP response headers are always set with HttpServletResponse.addHeader
Date Thu, 14 Jul 2016 12:58:20 GMT
Sergey Beryozkin created CXF-6970:
-------------------------------------

             Summary: HTTP response headers are always set with HttpServletResponse.addHeader
                 Key: CXF-6970
                 URL: https://issues.apache.org/jira/browse/CXF-6970
             Project: CXF
          Issue Type: Bug
          Components: Transports
            Reporter: Sergey Beryozkin
            Assignee: Sergey Beryozkin
             Fix For: 3.0.10, 3.1.7, 3.2.0


Headers utility class has the option either add headers with HttpServletResponse.addHeader
or set headers with HttpServletResponse.setHeader (the default).
The branch where headers are set still uses HttpServletResponse.addHeader.

One concrete side-effect of it is that JAX-RS servers are required to set Date headers. As
it happens, Jetty also sets it (Tomcat is OK) which leads to Date headers being duplicated.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message