You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2016/07/14 13:04:20 UTC

[jira] [Resolved] (CXF-6970) HTTP response headers are always set with HttpServletResponse.addHeader

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

Sergey Beryozkin resolved CXF-6970.
-----------------------------------
    Resolution: Fixed

> 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)