cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-4906) Http Headers should ignore the case for "User-Agent"
Date Wed, 20 Mar 2013 06:59:15 GMT

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

Willem Jiang resolved CXF-4906.
-------------------------------

    Resolution: Fixed

Committed the patch into trunk and cxf-2.7.x and cxf-2.6.x branches.
                
> Http Headers should ignore the case for "User-Agent"
> ----------------------------------------------------
>
>                 Key: CXF-4906
>                 URL: https://issues.apache.org/jira/browse/CXF-4906
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.5.9, 2.6.6, 2.7.3
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.8.0, 2.7.4, 2.6.7
>
>
> Headers is using below code to setup the User-Agent header.
> {code}
> if (!connection.getRequestProperties().containsKey("User-Agent")) {
> connection.addRequestProperty("User-Agent", Version.getCompleteVersionString());
> }
> {code}
> As you know, http header should ignore the case, the fix should help CXF avoid sending
more than one "User-Agent" header.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message