Add NTLM proxy authentication to urllib2

looping kadeko at gmail.com
Fri Sep 8 07:03:29 EDT 2006


Thanks for the answers.

I've done some tests with urllib2 and pywin32 and managed to partialy
implement the NTLM authentication, but it look like you need a
persistent connection (http 1.1 or 'Keep-Alive') to complete the
authentication.
Unfortunatly, urllib2 use a new connection for each request and
changing this behavior look difficult.
So I will probably write my own library.

Maybe there is something to do with the urlgrabber module ?




More information about the Python-list mailing list