New submission from Perry Lorier:

Similar to Issue8797, if the first 5 requests result in exception (eg 404), 
then AbstractBasicAuthHandler.retried is not reset, meaning authentication will 
fail on all subsequent attempts.

The logic in AbstractBasicAuthHandler.http_error_401 calling 
self.reset_retry_count() needs to be fixed, possibly moving it up before the 
call to http_error_auth_reqed()

----------
messages: 201309
nosy: Perry.Lorier
priority: normal
severity: normal
status: open
title: AbstractBasicAuthHandler
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19402>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to