shunping-google commented on issue #26644:
URL: https://github.com/apache/beam/issues/26644#issuecomment-1553900277

    > https://www.rfc-editor.org/rfc/rfc7231#section-5.5.3 is the spec.
   
   Thank you for pointing this out, Kenn!
   
   The way I added the requested string is incorrect. The spec states that the 
product name should go first, followed by more product names or comments. In 
our case, "(GPN:Beam)" is a comment and should be placed after the application 
name. 
   
   The correct user agent string in my former example should be: 
   "TransportTest **(GPN:Beam)** Google-API-Java-Client/2.0.0".
   
   Note that there will be an empty space between adjacent product names and 
comments.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to