[issue19402] AbstractBasicAuthHandler

2021-06-18 Thread Irit Katriel
Irit Katriel added the comment: I think Perry means HTTPBasicAuthHandler.http_error_401, which seems to still be missing a reset_retry_count() call. https://github.com/python/cpython/blob/0982ded179f280176868c1c4eccf77bf70687816/Lib/urllib/request.py#L1050 -- nosy: +iritkatriel

[issue19402] AbstractBasicAuthHandler

2014-10-02 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19402 ___ ___ Python-bugs-list

[issue19402] AbstractBasicAuthHandler

2013-10-25 Thread Perry Lorier
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