Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.2 Final
-
None
-
Ubuntu / openjdk-7
Description
When using the DecompressingHttpClient on a https host, if the client is executed with "execute(HttpUriRequest request, HttpContext context)" or any other execute method that do not provide the HttpHost target, the target is generated from the getHttpHost method.
Problem in this method is that uri.getAuthority() may not contain scheme, nor port. So this results in issuing https queries to port 80.
Follow a patch that fixes this
Attachments
Attachments
Issue Links
- is duplicated by
-
HTTPCLIENT-1206 DecompressingHttpClient ignores "https://" URI, always connects as plain "http://"
- Closed