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

http: support chunked transfer-encoding #133

Closed
legendecas opened this issue May 30, 2018 · 1 comment
Closed

http: support chunked transfer-encoding #133

legendecas opened this issue May 30, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@legendecas
Copy link
Contributor

legendecas commented May 30, 2018

By default, http module cannot not automatically derive content-length from input data since ClientRequest is a duplex stream, client can continuously write data into stream if the stream is not ended, yet headers have been sent at the beginning of the request.
Thus the http client in node.js set header Transfer-Encoding with chunked by default, then encase data with an chunk length at the beginning of each chunk.

@yorkie yorkie changed the title support http chunked transfer-encoding http: support chunked transfer-encoding May 30, 2018
@legendecas legendecas self-assigned this Jul 3, 2018
@yorkie yorkie added this to the v0.9.x milestone Jul 3, 2018
@yorkie
Copy link
Member

yorkie commented Jul 10, 2018

This has been fixed at #174.

@yorkie yorkie closed this as completed Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants