cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CXF-6970) HTTP response headers are always set with HttpServletResponse.addHeader
Date Fri, 14 Oct 2016 14:11:22 GMT

     [ https://issues.apache.org/jira/browse/CXF-6970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Colm O hEigeartaigh closed CXF-6970.
------------------------------------

> 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