jira-importer opened a new issue, #960: URL: https://github.com/apache/httpcomponents-core/issues/960
**[Sebastiano Vigna](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=vigna)** opened **[HTTPCORE-344](https://issues.apache.org/jira/browse/HTTPCORE-344?redirect=false)** and commented HttpHost provides String-based constructors that make it possible to create host given the IP address, e.g., new HttpHost("1.2.3.4"). Browsing the documentation this is not immediately evident, as the String parameter is called "hostname". Adding a constructor taking an InetAddress, or even another constructor using a byte array containing a raw address, would make it evident to someone browsing the available methods that an HttpHost instance can be built using an IP address. --- **Affects:** 4.3-beta2 -- 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]
