Question regarding DNS resolution in urllib2

saurabh verma nitw.saurabh at gmail.com
Wed Jun 15 03:50:12 EDT 2011


>
>
>
> If you edit your hosts file, it will affect where something.com points
> - you can force it to be IPA and then test, then force it to IPB and
> test. You'll still be downloading https://something.com so the HTTPS
> handshake should work exactly the same way.
>
>
there are issues with editing /etc/hosts , what if i don't have sudo access
on the target server ? I need a way out programmatically to fix this problem
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110615/de482117/attachment-0001.html>


More information about the Python-list mailing list