Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.5.9, 2.6.6, 2.7.3
-
None
-
Unknown
Description
Headers is using below code to setup the User-Agent header.
if (!connection.getRequestProperties().containsKey("User-Agent")) { connection.addRequestProperty("User-Agent", Version.getCompleteVersionString()); }
As you know, http header should ignore the case, the fix should help CXF avoid sending more than one "User-Agent" header.