jira-importer opened a new issue, #1414:
URL: https://github.com/apache/httpcomponents-core/issues/1414

   **[Joshua 
Hendrickson](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hendricksonjs)**
 opened 
**[HTTPCORE-418](https://issues.apache.org/jira/browse/HTTPCORE-418?redirect=false)**
 and commented
   
   org.apache.http.HttpHost provides a (String, int, String) constructor to let 
you specify an https configuration. However, in order to not have it include 
":443" at the end of its string representation, you need to know to pass -1 for 
the port parameter. For those not familiar with the class, having a (String, 
String) constructor like the one below would be easier to grok:
   
   new HttpHost("www.example.com", "https");
   
   compared with what you have to do today:
   
   new HttpHost("www.example.com", -1, "https");
   
   
   ---
   
   **Remote Links:**
   - [GitHub Pull Request `#20`
   ](https://github.com/apache/httpcore/pull/20)
   


-- 
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]

Reply via email to