Nobody knows? But why?

Andrew Markebo flognat at
Tue Jan 29 09:55:46 EST 2002

| import httplib
| h = httplib.HTTP('') #proxy

Shouldn't it be something like

h=httplib.HTTP({"http" : ''})

Meanwhile, the way I have used the proxies is by setting the
environment variable http_proxy to and
firing up h=httplib.HTTP(). Without params it sniffs the environment.

Read the code ;-)


 The eye of the beholder rests on the beauty!

More information about the Python-list mailing list