jira-importer opened a new issue, #896: URL: https://github.com/apache/httpcomponents-core/issues/896
**[Michael Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o)** opened **[HTTPCORE-395](https://issues.apache.org/jira/browse/HTTPCORE-395?redirect=false)** and commented Currently `VersionInfo#getUserAgent` sets `Java 1.5 minimum` by default but both [HttpCore](http://hc.apache.org/httpcomponents-core-4.4.x/httpcore/project-summary.html) and [HttpClient](http://hc.apache.org/httpcomponents-client-4.4.x/httpclient/project-summary.html) have Java 1.6 now. Values are completely ignored. This needs to be determined at runtime. The best approach would be add a manifest property `X-Compile-Target-JDK` just like `[commons-parent](http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?view=markup#l506)` does. `VersionInfo` can be changed and report that information. Alternatively, this information can be completely dropped. The output now is ``` [http-8081-1] DEBUG org.apache.http.wire - http-outgoing-44 >> "User-Agent: Apache-HttpClient/4.4 (Java 1.5 minimum; Java/1.7.0_55)[\r][\n]" ``` --- **Affects:** 4.4 **Backported to:** [4.4.1](https://github.com/apache/httpcomponents-core/milestone/39?closed=1) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
