Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
When HttpClient execute request using HttpHost
e.g. client.execute(new HttpHost("www.example.com"), new HttpGet("/"));
the request will add a redundant port to Host header and/or URI
GET / HTTP/1.1
Host: www.example.com:80
.......(if through proxy)
GET http://www.example.com:80/ HTTP/1.1
Host: www.example.com:80