xd1888 / httplib2

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

Specify an IP address explicitly #239

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Many domain names are resolved to different IP addressess.
Currently, there is no comfortable way to force the IP address to connect 
explicitly.

There is a workaround for HTTP requests: we can make an URL with IP address 
instead of domain name and specify the domain name in the headers attribute.

But for HTTPS connections this won't work because SSL cert validation fails.

It would be great to have an additional Http.request() argument to specify an 
IP address.

Original issue reported on code.google.com by maks.t...@gmail.com on 11 Dec 2012 at 1:49

GoogleCodeExporter commented 9 years ago

Original comment by joe.gregorio@gmail.com on 13 Oct 2013 at 3:15