osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[httpclient] Better user agent header?


Hi All:

Right now, the HttpClient is of the form:

User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_162)

With the stack I am working with, it would be handy if the header reflected:

- The Java vendor
- Operating system name and version.

For example:

User-Agent: Apache-HttpClient/4.5.5 (Oracle Corporation/Java/1.8.0_162)
Windows/10.0 (amd64)

Any thoughts for or against adding this to the user agent string?

Gary