Re: legality of Transfer-Encoding: chunked bodies in HTTP/2

On 5 August 2014 14:00, Osama Mazahir <OSAMAM@microsoft.com> wrote:
> +1 for allowing Chunked.

HTTP/2 is inherently chunked.  You don't have to send Content-Length,
though we do like to encourage it.  Stripping the decoration (the
chunking) is necessary if you want to make DATA frames.  Otherwise we
have HTTP/2 implementations needing to know about the details (and
corresponding mess) of HTTP/1.1 framing.

When it comes to reforming into 1.1, you can make your own assessment
about how to translate.  If you have content-length, then chunked
encoding isn't neccessary, even if it was originally chunked.

Received on Tuesday, 5 August 2014 21:35:38 UTC