Skip to content

Add "Content-Length: 0" on POST, PUT, PATCH if required. - #995

Merged
lovelydinosaur merged 2 commits into
masterfrom
add-content-length-zero
May 26, 2020
Merged

Add "Content-Length: 0" on POST, PUT, PATCH if required.#995
lovelydinosaur merged 2 commits into
masterfrom
add-content-length-zero

Conversation

@lovelydinosaur

Copy link
Copy Markdown
Contributor

Closes #987

@lovelydinosaurlovelydinosaur added the bug Something isn't working label May 25, 2020

@florimondmancaflorimondmanca left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!

Just a small typo in the new test. 😄

Comment threadtests/client/test_client.py Outdated
Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
@lovelydinosaur
lovelydinosaur merged commit 7c8158a into masterMay 26, 2020
@lovelydinosaur
lovelydinosaur deleted the add-content-length-zero branch May 26, 2020 14:03
@lovelydinosaurlovelydinosaur mentioned this pull request May 27, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't working

Development

Successfully merging this pull request may close these issues.

Content-Length header is missing in POST/DELETE/PUT/PATCH requests without body

2 participants

@lovelydinosaur@florimondmanca