You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
withchunked
by default, then encase data with an chunk length at the beginning of each chunk.The text was updated successfully, but these errors were encountered: