lightbug_http
lightbug_http copied to clipboard
[6.1-4] MUST: A recipient MUST be able to parse the chunked transfer coding (Section 7.1) because it plays a cruci...
RFC 9112 Requirement
Section: 6.1-4 Keyword: MUST
A recipient MUST be able to parse the chunked transfer coding (Section 7.1) because it plays a crucial role in framing messages when the content size is not known in advance. A sender MUST NOT apply the chunked transfer coding more than once to a message body (i.e., chunking an already chunked message is not allowed). If any transfer coding other than chunked is applied to a request's content, the sender MUST apply chunked as the final transfer coding to ensure that the message is properly framed. If any transfer coding other than chunked is applied to a response's content, the sender MUST either apply chunked as the final transfer coding or terminate the message by closing the connection.¶
Reference: https://www.rfc-editor.org/rfc/rfc9112.html#section-6.1-4