From RFC 7230 / RFC 9112: If Transfer-Encoding is present and includes chunked, the message body length is determined by chunked framing and Content-Length must be ignored.