[ 
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

Reply via email to