[issue11799] urllib HTTP authentication behavior with unrecognized auth method

2011-05-11 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue11799] urllib HTTP authentication behavior with unrecognized auth method

2011-05-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6072db001b51 by Senthil Kumaran in branch 'default': Fix closes Issue #11799: urllib.request Authentication Handlers will raise a http://hg.python.org/cpython/rev/6072db001b51 -- nosy: +python-dev ___ Py

[issue11799] urllib HTTP authentication behavior with unrecognized auth method

2011-04-07 Thread Senthil Kumaran
Senthil Kumaran added the comment: With the patch there is a new exception with specific msg being raised in certain cases, so this may only pertain to 3.3 -- assignee: -> orsenthil nosy: +orsenthil versions: -Python 3.2 ___ Python tracker

[issue11799] urllib HTTP authentication behavior with unrecognized auth method

2011-04-07 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: The patch seems ok. I think this should be applied to 3.2 and 3.3. Not sure about 3.1. -- keywords: +needs review -patch nosy: +jcea versions: +Python 3.2, Python 3.3 -Python 3.4 ___ Python tracker

[issue11799] urllib HTTP authentication behavior with unrecognized auth method

2011-04-07 Thread Yuval Greenfield
Yuval Greenfield added the comment: I noticed it's not only that python doesn't support NTLM, it's that I used Basic Auth which isn't NTLM. So I modified the patch to pertain to basic auth and digest as well. -- Added file: http://bugs.python.org/file21574/urllib.auth2.patch

[issue11799] urllib HTTP authentication behavior with unrecognized auth method

2011-04-07 Thread Yuval Greenfield
New submission from Yuval Greenfield : 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 urlli