]> git.ipfire.org Git - thirdparty/httpx.git/commit
Add "Content-Length: 0" on POST, PUT, PATCH if required. (#995)
authorTom Christie <tom@tomchristie.com>
Tue, 26 May 2020 14:03:55 +0000 (15:03 +0100)
committerGitHub <noreply@github.com>
Tue, 26 May 2020 14:03:55 +0000 (15:03 +0100)
commit7c8158a8520dfb922a059971718aa75e3f90214a
tree2e64084aa951e33a50d0f7a8e68ae0812ba128d8
parent66a45379594e5cf836e4743931119e76dc8f22c7
Add "Content-Length: 0" on POST, PUT, PATCH if required. (#995)

* Add Content-Length: 0 on POST, PUT, PATCH if required.

* Update tests/client/test_client.py

Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
httpx/_models.py
tests/client/test_client.py