urllib and MS proxy. How can I debug?
kentsin at poboxes.com
kentsin at poboxes.com
Wed Oct 18 02:42:29 EDT 2000
The urllib of python 2.0 does not like the MS proxy. In my
environment, the proxy is 192.168.83.3:80. I have the following in my
win98 box :
autoexec.bat
set http_proxy=http://192.168.83.3:80
I try to load a page with
import urllib
a = urllib.urlopen('http://www.python.org/')
print a.read()
This only works once but return null on all other cases.
a.headers is :
>>> print a.headers
Server: Microsoft-IIS/4.0
Date: Wed, 18 Oct 2000 06:40:54 GMT
Proxy-Authenticate: NTLM
How could I debug this?
Rgs,
Kent Sin
More information about the Python-list
mailing list