[
https://issues.apache.org/jira/browse/CXF-6871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15249032#comment-15249032
]
Colin Hurley commented on CXF-6871:
-----------------------------------
Cool, that sounds good to me. Thanks.
> Adjust default User-Agent header format to better comply with HTTP
> specification
> --------------------------------------------------------------------------------
>
> Key: CXF-6871
> URL: https://issues.apache.org/jira/browse/CXF-6871
> Project: CXF
> Issue Type: Improvement
> Components: Transports
> Affects Versions: 2.7.11, 3.1.6
> Reporter: Colin Hurley
> Priority: Trivial
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)