Is there a proxy-enabled version of httplib.py anywhere?

Fredrik Lundh fredrik at pythonware.com
Fri Dec 3 07:45:11 EST 1999


Tony McDonald <tony.mcdonald at ncl.ac.uk> wrote:
> The subject says it all really - I believe that I'm supposed to use urllib
> rather than httplib, but what can you do when urllib calls httplib to do
> some calls! :(

set the http_proxy environment variable,
and be done with it? :)

(urllib implements the proxy stuff on top of
httplib.  see the code for details; especially
the getproxies function).

</F>





More information about the Python-list mailing list