Re: Design Issue: GZIP flag on DATA Frames

This seem to make the introduction of new compression schemes more complex.

On 21.05.2013 18:21, James M Snell wrote:
> https://github.com/http2/http2-spec/issues/100
>
> Currently the spec includes a requirement that all user-agents MUST
> support gzip.. specifically:
>
>    User-agents MUST support gzip compression.
>    Regardless of the Accept-Encoding sent by
>    the user-agent, the server may always send
>    content encoded with gzip or deflate encoding.
>
> If we're going to include this requirement, it makes more sense to do
> this at the framing layer rather than the HTTP semantic layer. We can
> do so easily by defining a GZIP flag on the DATA frame type. If set,
> the payload of the DATA frame is compressed.
>
> Doing so largely eliminates the need for the
> accept-/transfer-/content-encoding mechanisms at the http semantic
> layer.
>

Received on Tuesday, 21 May 2013 17:13:33 UTC