Nobody knows? But why?
Andrew Markebo
flognat at flognat.myip.org
Tue Jan 29 09:55:46 EST 2002
|
| import httplib
| h = httplib.HTTP('209.242.141.249:8080') #proxy
Shouldn't it be something like
h=httplib.HTTP({"http" : 'http://209.242.141.249:8080/'})
Meanwhile, the way I have used the proxies is by setting the
environment variable http_proxy to http://209.242.141.249:8080/ and
firing up h=httplib.HTTP(). Without params it sniffs the environment.
Read the code ;-)
/Andy
--
The eye of the beholder rests on the beauty!
More information about the Python-list
mailing list