urllib.urlopen and firewalls

zakons at my-deja.com zakons at my-deja.com
Wed Oct 27 09:19:11 EDT 1999


It works! Thanks. Freedom at last...
SZ

In article <ksd7u1q0ie.fsf at telelogic.se>,
  andy.eskilsson at telelogic.se wrote:
> Yep, read the source Luke ;-) real hard..
>
> Unfortunetaly it is not well documented..
>
> *Legal disclaimer* I believe it works on Python 1.4 and up, I can't
>  recall if it was in 1.3 and down.. Geez I started pythoning when it
>  was in version 1.1.. am I senior then or? (When I finaly managed to
>  print out all the docs for 1.1, 1.2 was released...)
>
> It uses the environment variable [protocol]_proxy (urllib around line
> 972 python 1.5.2) so if you set the environment variable http_proxy to
> http://my.proxy:port/ it hopefully will work out :-)
>
>         /Andy
>
> / "Zakon, Stuart" <ZakonS at eccelerate.com> wrote:
> | Is it possible to make the following function:
> |
> | urllib.urlopen(url)
> |
> | work across a firewall?
> |
> | Thanks,
> | Stuart Zakon
> |
>


Sent via Deja.com http://www.deja.com/
Before you buy.




More information about the Python-list mailing list