Re: notes on http2 draft

Martin Thomson <martin.thomson@gmail.com> Tue, 21 May 2013 21:50 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9713621F95F1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 May 2013 14:50:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.921
X-Spam-Level:
X-Spam-Status: No, score=-7.921 tagged_above=-999 required=5 tests=[AWL=2.678, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NmEjRixQam29 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 May 2013 14:50:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1E4F121F95C3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 May 2013 14:50:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UeuRJ-00026F-LS for ietf-http-wg-dist@listhub.w3.org; Tue, 21 May 2013 21:49:49 +0000
Resent-Date: Tue, 21 May 2013 21:49:49 +0000
Resent-Message-Id: <E1UeuRJ-00026F-LS@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1UeuR8-00024J-CP for ietf-http-wg@listhub.w3.org; Tue, 21 May 2013 21:49:38 +0000
Received: from mail-lb0-f173.google.com ([209.85.217.173]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1UeuR3-0003Od-LL for ietf-http-wg@w3.org; Tue, 21 May 2013 21:49:38 +0000
Received: by mail-lb0-f173.google.com with SMTP id t10so1373996lbi.18 for <ietf-http-wg@w3.org>; Tue, 21 May 2013 14:49:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=uzv0LLYjRcioDrzdtRmMta+vI4OH0yAuOjT6VzR09nU=; b=q0mnzpExyhrJHQphP1eZkk/aWkYtr7qjKMO3WXtz9o7EDMogPCrxtIuStZDK1VRQQy TPlppUYF7zOe3GsJjTZcKkVMs84sXm2O1x3sleO2Z5oYYv7sOEQXVP9drAMBa9RYxQu4 Z5061NSVB/FXSr1i6fLgO3ZgQlQEWnuK2Lu/FXYsqWSyDfTgbJAvKPuQJe2RCEJbllbu ZLeVnt4rm8qhEixaJcYf1VewzF+fbzxJJzbLCtpmAdbqbtBPLdtYGhxfvkY0OvC0JCP6 z7gJpicDdqyAYDYfRQVFqCsf0/Rwwe6AL0f5H/LgR78z+kY1gmcp9zP54qKF2gITsNWO UPNQ==
MIME-Version: 1.0
X-Received: by 10.112.19.9 with SMTP id a9mr2560833lbe.80.1369172947033; Tue, 21 May 2013 14:49:07 -0700 (PDT)
Received: by 10.112.235.233 with HTTP; Tue, 21 May 2013 14:49:06 -0700 (PDT)
In-Reply-To: <CABP7Rbf3X44UvPXBn4xvvznEmvhkuRDQFE6WV-42xOvBCSrOjg@mail.gmail.com>
References: <CAOdDvNr4q-=yNjocJ6nMNcnekWDakykHPdvUGZe8Kp8vOphpuA@mail.gmail.com> <CABP7Rbf3X44UvPXBn4xvvznEmvhkuRDQFE6WV-42xOvBCSrOjg@mail.gmail.com>
Date: Tue, 21 May 2013 14:49:06 -0700
Message-ID: <CABkgnnVbP3U0CTBGEOb=xPVwTf6TYchXb-yQqGAWy9tPQYS54Q@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Patrick McManus <pmcmanus@mozilla.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.217.173; envelope-from=martin.thomson@gmail.com; helo=mail-lb0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.697, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UeuR3-0003Od-LL 9923ad33c98e202171b223d136404dc9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: notes on http2 draft
Archived-At: <http://www.w3.org/mid/CABkgnnVbP3U0CTBGEOb=xPVwTf6TYchXb-yQqGAWy9tPQYS54Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18077
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 21 May 2013 09:00, James M Snell <jasnell@gmail.com> wrote:
>
> For instance, for all DATA frames, we can introduce a GZIP flag (0x2)
> that indicates that the data contained in that frame has been
> compressed. Doing so really eliminates the need to specify anything at
> the HTTP semantic layer and eliminates the need for the
> accept-/transfer-/content-encoding header mechanism completely.

HTTP/2.0 originally had exactly this feature and it was removed.  It
was removed from SPDY shortly after the two specifications diverged.

https://github.com/http2/http2-spec/issues/46

It turns out that a compression bit is a) not especially useful
without knowledge of what the payload is going to be, and b)
confusing.