Re: Question about H2 and chunked encoding

On Fri, Aug 04, 2017 at 03:01:26PM +1000, Martin Thomson wrote:
> If you don't actually have trailers, I would send an empty DATA + ES.
> That is (to my knowledge) perfectly interoperable.

Great, that's perfect, thanks!

> I'll let others speak about how well tested an empty HEADERS is, but
> there's an important difference in the semantics if you use that.  As
> soon as you send HEADERS with ES, you declare the presence of
> trailers.  That they are empty is potentially confusing.

That's what I fear as well. I'd rather decide to always emit an empty
DATA+ES whenever I'd like to send an empty HEADERS if it's less risky.

Thank you for the fast response!

Received on Friday, 4 August 2017 05:08:11 UTC