[issue1368312] fix for scheme identification in urllib2?
david reid
report at bugs.python.org
Sun May 4 23:20:27 CEST 2008
david reid <mail at david-reid.com> added the comment:
I've run into this as an issue with a server that replies with both
digest and basic auth.
When parsing the keys in the header it's possible to detect the start of
a different auth method, so I'd suggest parsing the www-authenticate
line and returning a dict for each type of auth containing the
appropriate key,value pairs.
This approach should allow every auth type to be catered for.
----------
nosy: +zathras
_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1368312>
_____________________________________
More information about the Python-bugs-list
mailing list