Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.3.3
-
None
Description
Currently, the dafault user agent looks like this:
DEFAULT_USER_AGENT = "Apache-HttpClient/" + release + " (java 1.5)"
This indicates that Java 1.5 is used but this is the compile target of HTTP Client.
A better user agent would be:
DEFAULT_USER_AGENT = "Apache-HttpClient/" + release + " (Java " + javaVersion ")"
where javaVersion is the version where the client is currently running.