Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conneciton chunk only true #3381

Closed

Conversation

thinkjin99
Copy link

Progress with #3379

Make request function to send body data by chunked parameter and header value.
Now request function doesn't detect the type of body.
body_to_bytes function is used for request that uses Content-Length header.
This function makes body data to sendable  bytes and measure the length.
body_to_chunks only runs when chunked values is true or Transfer-Encoding header is exists.

In the previous version request function keep using chunking even chunked=False.
By dividing function to different two parts now we can hanlde chunking by chunked parameter.
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.

None yet

1 participant