[issue4683] urllib2.HTTPDigestAuthHandler fails on third hostname?

Dan report at bugs.python.org
Thu Dec 18 22:55:59 CET 2008


Dan <daniel at ohuiginn.net> added the comment:

Reasonable idea, Daniel, but changing self.retried makes no difference.
What does solve Chris' problem (which I can reproduce, btw) is
preventing the nonce_count from incrementing.

i.e. comment out the line :
 self.nonce_count += 1
in AbstractDigestAuthHandler.get_authorization

This makes me wonder if all this is being caused by LJ, intentionally or
not, rejecting repeated requests.

----------
nosy: +danohuiginn

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4683>
_______________________________________


More information about the Python-bugs-list mailing list