wasm-demo/demo/ermis-f/python_m/cur/0124

34 lines
1.2 KiB
Plaintext

From: KUNCEJ at mail.conservation.state.mo.us (Jeffrey Kunce)
Date: Mon, 12 Apr 1999 14:52:00 GMT
Subject: Does the standard ftplib module support proxies?
Message-ID: <s711c409.006@mail.conservation.state.mo.us>
X-UID: 124
The standard urllib.py also supports proxies. I don't think the library manual explains it, and I found the internal docs insufficient. Search dejanews for urllib and proxy to find some help.
Basically, you set an environment variable that defines the proxy:
(NT example)
SET http_proxy=http://204.71.200.68:8080
and urllib takes it from there.
For me it works on a standard proxy, but not with a socks server
This is just from my [recent] experience with a new firewall that was imposed on me. I'm not an expert on the subject. I hope the urllib documentation can be improved in this area. Maybe a python/firewall HOWTO is in order?
--Jeff
>>> Paul Moore <gustav at morpheus.demon.co.uk> 04/11/99 04:26pm >>>
The header says it all... I've looked in the manual, but I can't see
anything about proxy (firewall) support, one way or another.
Actually, the same question applies to httplib and urllib.
Thanks,
Paul Moore.