]> git.ipfire.org Git - thirdparty/httpx.git/commit
Add Auth.requires_response_body attribute (#803)
authorGeorge Kettleborough <kettleg@gmail.com>
Mon, 10 Feb 2020 12:10:11 +0000 (12:10 +0000)
committerGitHub <noreply@github.com>
Mon, 10 Feb 2020 12:10:11 +0000 (12:10 +0000)
commitb3db9ff0b6554ed3a48ff912682f4a7d10c3f3f8
treee89f6ac7d071146498602ff4825a3953d89f5166
parentcfe227809649dc97214f8c56943c3df01aa5ed7b
Add Auth.requires_response_body attribute (#803)

* Add Auth.requires_response_body attribute

If set then responses are read by the client before being sent back into the auth flow

* Update tests and docs

* PR fixes

* Change example methods
docs/advanced.md
httpx/_auth.py
httpx/_client.py
tests/client/test_auth.py