Skip to content

Transfer-Encoding: gzip #2633

Answered by seanmonstar
bagder asked this question in Q&A
Aug 26, 2021 · 1 comments · 8 replies
Discussion options

You must be logged in to vote

I just looked through the source code, and confirmed it is setting the body to "close-delimited". This is based on what it says in RFC 7230 $3.3.3 :

If a Transfer-Encoding header field is present in a response and the chunked transfer coding is not the final encoding, the message body length is determined by reading the connection until it is closed by the server.

If a message is received with both a Transfer-Encoding and a Content-Length header field, the Transfer-Encoding overrides the Content-Length.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@bagder
Comment options

@bagder
Comment options

@bagder
Comment options

@bagder
Comment options

@bagder
Comment options

Answer selected by bagder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants