Willem Jiang created CXF-4906: --------------------------------- Summary: 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.7.3, 2.6.6, 2.5.9 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