httplib and proxies

Colin Brown cbrown at metservice.com
Fri Jun 4 01:53:57 EDT 2004


"Lothar Scholz" <llothar at web.de> wrote in message
news:6ee58e07.0406031250.1b36a113 at posting.google.com...
> Hello,
>
> is it possible to get a webpage with httplib (or any other python
> library) through a proxy server ? Can't find anything about this in
> the documentation.

If you use urllib, you might want to try adding an empty dictionary:
proxies={} to your urllib.urlopen.
This enabled us to get past a Windows proxy server.

Colin Brown
PyNZ





More information about the Python-list mailing list