Skip to content

Conversation

ycd
Copy link

@ycd ycd commented Dec 8, 2021

Automatically set the Content-Length header to POST requests. This introduces changes to following functions:

  • body_json
  • body_string
  • body_form
  • body_file
  • body_bytes

Resolves: #324

Signed-off-by: Yagiz Degirmenci [email protected]

ycd added 2 commits December 8, 2021 22:18
Automatically insert the Content-Length header when body_string, body_form, body_file and body_bytes is called

Signed-off-by: Yagiz Degirmenci <[email protected]>
@ycd ycd changed the title feat: automatically insert content-length header with body_json function feat: Automatically insert Content-Length header to POST requests Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

body_json should set content-length header

1 participant