This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ubershmekel
Recipients ubershmekel
Date 2011-04-07.19:32:49
SpamBayes Score 0.025669582
Marked as misclassified No
Message-id <1302204770.2.0.571328195993.issue11799@psf.upfronthosting.co.za>
In-reply-to
Content
When trying to use urllib to open a page from a server with NTLM authentication python raises urllib.error.HTTPError: HTTP Error 401: Unauthorized

A python 3 code example: http://codepad.org/axPomYHw

This was a bit confusing for me as I had to debug urllib to figure out python doesn't support NTLM. I'd expect python to tell me the authentication method isn't supported in such cases.

I didn't add a test for the attached patch as it doesn't seem test-worthy.
History
Date User Action Args
2011-04-07 19:32:50ubershmekelsetrecipients: + ubershmekel
2011-04-07 19:32:50ubershmekelsetmessageid: <1302204770.2.0.571328195993.issue11799@psf.upfronthosting.co.za>
2011-04-07 19:32:49ubershmekellinkissue11799 messages
2011-04-07 19:32:49ubershmekelcreate