Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.7.11, 3.1.6
-
None
-
Novice
Description
The default value CXF sends for the User-Agent HTTP header is formatted as E.g. Apache CXF 3.1.6.
According to the HTTP specification, multiple products in the User-Name header are delimited by whitespace, and a product can optionally indicate its version by separating the product name and product version with a slash. RFC-1945, Sections 10.15, 3.7; RFC-2616, Sections 14.43, 3.8
Based on this information, CXF's default User-Agent value is indicating three products with unspecified versions: Apache, CXF, and 3.1.6, rather than the intended Product Name = Apache CXF and Product Version = 3.1.6.
I suggest altering the formatting so the default User-Agent for CXF becomes E.g. Apache-CXF/3.1.6. This will convey the intended product information so it semantically complies with RFC-1945 and RFC-2616.