]> git.ipfire.org Git - thirdparty/httpx.git/commit
Add DigestAuth middleware (#332)
authorYeray Diaz Diaz <yeraydiazdiaz@gmail.com>
Tue, 10 Sep 2019 19:53:39 +0000 (20:53 +0100)
committerSeth Michael Larson <sethmichaellarson@gmail.com>
Tue, 10 Sep 2019 19:53:39 +0000 (14:53 -0500)
commitfd3b69d2aac4f3625405ad87664fc9a93dc9af45
treedde4e19a8e0671717121d01fe20d9316de8e69bd
parent08edfac37dbe94faf5b99f09d62cadf608d010e0
Add DigestAuth middleware (#332)

* Remove global variable, just return response from auth request

* Add extra space to Digest header start assertion

* Prevent unpacking errors limiting the number of splits
httpx/__init__.py
httpx/client.py
httpx/middleware/digest_auth.py [new file with mode: 0644]
httpx/models.py
httpx/utils.py
tests/client/test_auth.py