]> git.ipfire.org Git - thirdparty/httpx.git/commit
reuse the digest auth state to avoid unnecessary requests (#2463)
authorrettier <rettier@users.noreply.github.com>
Tue, 29 Nov 2022 17:05:37 +0000 (18:05 +0100)
committerGitHub <noreply@github.com>
Tue, 29 Nov 2022 17:05:37 +0000 (17:05 +0000)
commit8327e1345476ca38bd058545585d14890823aeb8
treef4bebb512ae0127eaba8d5ae7cd5dcf609cd8b40
parent69e13cbc393ee13624d0e4aa4b6f861a95e3f91c
reuse the digest auth state to avoid unnecessary requests (#2463)

* reuse the digest auth challenge to avoid sending twice as many requests

* fix for digest testcase

* ran testing/linting scripts

* codereview changes, removed tomchristie username from all authentication tests

Co-authored-by: Philipp Reitter <p.reitter@accessio.at>
Co-authored-by: Tom Christie <tom@tomchristie.com>
httpx/_auth.py
tests/client/test_auth.py
tests/test_auth.py