david reid <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1368312>
_____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to