Pycurl proxy authentication anyone?

JanC usenet_spam at janc.invalid
Fri Nov 7 02:28:36 EST 2003


Mark Ferguson <mark.ferguson at newellandbudge.com> schreef:

> I've been trying to get a simple pycurl script working with an 
> authenticating proxy, here is the code (with changes to protect the 
> guilty!):

> c.setopt(PROXYPORT,80)
> c.setopt(PROXYUSERPWD,"dummyuser:dummypasswd")
> c.setopt(HTTPAUTH,8) #NTLM

Shouldn't that last line be:

c.setopt(PROXYAUTH,8) #NTLM

-- 
JanC

"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9




More information about the Python-list mailing list