W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2013

Re: Design Issue: GZIP flag on DATA Frames

From: Mark Nottingham <mnot@mnot.net>
Date: Tue, 28 May 2013 16:19:53 +1000
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-Id: <6CD70CBA-B2CF-4FF4-8E94-8CB839C39F56@mnot.net>
To: James M Snell <jasnell@gmail.com>
Speaking personally - 

I'm -1 on this. The semantics you talk about *are* a property of the content, and you're embedding them in the transport.



On 22/05/2013, at 2:21 AM, James M Snell <jasnell@gmail.com> 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.
> 

--
Mark Nottingham   http://www.mnot.net/
Received on Tuesday, 28 May 2013 06:20:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:11 UTC