[ 
https://issues.apache.org/jira/browse/CXF-6871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15247559#comment-15247559
 ] 

Sergey Beryozkin commented on CXF-6871:
---------------------------------------

Hi, I think it is OK to update it, but keeping it to the master only for now:

https://github.com/apache/cxf/commit/a9d90452dc9a21e39ba9869c68d219c4e81c9f2b

If Dan, Alessio, others will have no concerns then I'll push it to 3.1.x too.

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)

Reply via email to