Re: Sending responses with unknown body size in HTTP/2

On Sat, Jan 27, 2018 at 5:08 AM, Lucas Pardue <Lucas.Pardue@bbc.co.uk>
wrote:

> Hello,
>
>
>
> I’ve been thinking about how a server can approach sending a body of
> unknown total size.
>
>
>
omit content-length. you're done. For most purposes CL is just a heads up
if you happen to know it (so the peer can do things like reserve disk space
or draw a progress meter, etc..)

(CL never delimits according to 7540, but if its present and it does not
match the size of the aggregated data chunks that is an error according to
8.1.2.6)

Received on Saturday, 27 January 2018 15:01:27 UTC