[issue15310] urllib: Support for multiple WWW-Authenticate headers and/or multiple challenges per header

2012-07-09 Thread Thomas Parslow
Thomas Parslow added the comment: I should mention, this fixes the same issue mentioned in #13323 but more comprehensively and for python 3 (the old issue refers to urllib2 in python2). -- ___ Python tracker <http://bugs.python.org/issue15

[issue15310] urllib: Support for multiple WWW-Authenticate headers and/or multiple challenges per header

2012-07-09 Thread Thomas Parslow
New submission from Thomas Parslow : The HTTP spec specifies that the 401 (Unauthorized) response can be accompanied by multiple challenges, either as separate WWW-Authenticate headers or in a single WWW-Authenticate header separated by commas. The client should always pick the strongest

[issue11153] urllib2 basic auth parser handle unquoted realm in WWW-Authenticate header

2012-07-09 Thread Thomas Parslow
Thomas Parslow added the comment: This is already fixed in the current code, unquoted realms are allowed with a warning. -- nosy: +almost ___ Python tracker <http://bugs.python.org/issue11