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 2011/08/05 16:09:27 UTC

[jira] [Created] (CXF-3714) Add property which can be used to get multiple HTTP header values added as separate headers

Add property which can be used to get multiple HTTP header values added as separate headers
-------------------------------------------------------------------------------------------

                 Key: CXF-3714
                 URL: https://issues.apache.org/jira/browse/CXF-3714
             Project: CXF
          Issue Type: Improvement
          Components: Transports
    Affects Versions: 2.3.5, 2.4.1
            Reporter: Sergey Beryozkin
            Assignee: Sergey Beryozkin
             Fix For: 2.3.6, 2.4.2, 2.5


Currently multiple header values are always set as part of a single HTTP header (except for Cookie and Set-Cookie), example,
Allow: GET,POST
CustomHeader: A,B

Sometimes, users expect:

CustomHeader: A
CustomHeader: B

the latter is achieved by calling response.addHeader for every value header value.

I think that there are so many variations there, as far as HTTP headers are concerned, that the simplest way to start is to
introduce a property. "Add header per every value" may become a default policy (it used to be the case awhile back)...


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CXF-3714) Add property which can be used to get multiple HTTP header values added as separate headers

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved CXF-3714.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.3.6)

> Add property which can be used to get multiple HTTP header values added as separate headers
> -------------------------------------------------------------------------------------------
>
>                 Key: CXF-3714
>                 URL: https://issues.apache.org/jira/browse/CXF-3714
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.4.1, 2.3.5
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>             Fix For: 2.4.2, 2.5
>
>
> Currently multiple header values are always set as part of a single HTTP header (except for Cookie and Set-Cookie), example,
> Allow: GET,POST
> CustomHeader: A,B
> Sometimes, users expect:
> CustomHeader: A
> CustomHeader: B
> the latter is achieved by calling response.addHeader for every value header value.
> I think that there are so many variations there, as far as HTTP headers are concerned, that the simplest way to start is to
> introduce a property. "Add header per every value" may become a default policy (it used to be the case awhile back)...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira