dxlove / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

Patch for /python2/httplib2/__init__.py #198

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Use the original (host, port) to connect on the socket instead of the resolved 
IP and port.

In the case of using a proxy socket, this prevents having the proxy server 
perform DNS lookups (for an HTTP/1.1 CONNECT proxy as given in the wiki 
example, it breaks all usage of Host headers).

Original issue reported on code.google.com by dds@google.com on 22 Dec 2011 at 11:14

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in 
http://code.google.com/p/httplib2/source/detail?r=0b91b6d089b6a397f1f85c11888c20
b06ff49b5f

Original comment by joe.gregorio@gmail.com on 6 Jan 2012 at 7:11