Pycurl proxy authentication anyone?

JanC usenet_spam at janc.invalid
Fri Nov 7 08:28:36 CET 2003

Mark Ferguson <mark.ferguson at> 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


"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