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-
New submission from david reid <[EMAIL PROTECTED]>:
In urllib2 when using reusing a Request calling add_header doesn't work
when an unredirected_header has been added.
A good example (and the one that caught me out) is content-type. When
making a POST request with no content-t
david reid <[EMAIL PROTECTED]> added the comment:
Looks like a sensible, simple fix to me :-)
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2695>
__
__
david reid <[EMAIL PROTECTED]> added the comment:
The patch is inline. There's not much to it :-)
Agree with your suggestion to avoid calling lower() twice.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.
New submission from david reid <[EMAIL PROTECTED]>:
Small change to allow get_algorithm_impls to correctly detect when lower
case algorithm strings are passed. I recently ran into a server that
sent 'md5' and so this function failed without this small change.
def get_algo