[New-bugs-announce] [issue19402] AbstractBasicAuthHandler

Perry Lorier report at bugs.python.org
Sat Oct 26 03:50:04 CEST 2013

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list