Re: Design Issue: GZIP flag on DATA Frames

James M Snell <jasnell@gmail.com> Tue, 21 May 2013 16:29 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 6EA0921F98E1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 May 2013 09:29:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.904
X-Spam-Level:
X-Spam-Status: No, score=-8.904 tagged_above=-999 required=5 tests=[AWL=1.095, BAYES_00=-2.599, J_CHICKENPOX_42=0.6, 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 61kw8ZgSEDMD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 May 2013 09:29:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 09BE621F98DF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 May 2013 09:29:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UepQa-0003mE-MN for ietf-http-wg-dist@listhub.w3.org; Tue, 21 May 2013 16:28:44 +0000
Resent-Date: Tue, 21 May 2013 16:28:44 +0000
Resent-Message-Id: <E1UepQa-0003mE-MN@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1UepQQ-0003kk-1y for ietf-http-wg@listhub.w3.org; Tue, 21 May 2013 16:28:34 +0000
Received: from mail-oa0-f54.google.com ([209.85.219.54]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1UepQN-0004hI-S9 for ietf-http-wg@w3.org; Tue, 21 May 2013 16:28:33 +0000
Received: by mail-oa0-f54.google.com with SMTP id o17so1091493oag.13 for <ietf-http-wg@w3.org>; Tue, 21 May 2013 09:28:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=PtLEP4LID/QezR8CVXdhBC9RSZmwAcA7AE1iu91mxnc=; b=N5AchdRaW7MyEqv1wY4e20N4XP6tvS51jFt+t9tDlP3QffvPlTlbD9u/+P39BBN+sC oBFk/gXJ2JKpSQsctIz9QA5rAsmrqd74gEieJ7tyq7p4GCEVYvC8N83tqtFTu2W/Ou5o zxUDsT7/UsNnx3x466nbasEdOZcxiW3pkm2ZihRs4rYc25nG40LojR/LKicwq0C0RBhK XA8pXQ1w7w2YFXLKBZUz/VYi7mtJVUGzcN26JCx8xoStIuWLDoIiYV4cbX1cQdxNSqh2 4y12HgPdofgoeWZR9jS7XrqiO8qecvaUdkzNCSXrHSQXF2CYnXDGbEAIdTxShmy3moCg tcJg==
X-Received: by 10.60.140.166 with SMTP id rh6mr1919110oeb.97.1369153686037; Tue, 21 May 2013 09:28:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.60.3.137 with HTTP; Tue, 21 May 2013 09:27:45 -0700 (PDT)
In-Reply-To: <3818.1369153537@critter.freebsd.dk>
References: <CABP7Rbfb92Vxrmxj6fKdt+jpO_Qknq8FRjsu5GZW=17uoi4OFg@mail.gmail.com> <3818.1369153537@critter.freebsd.dk>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 21 May 2013 09:27:45 -0700
Message-ID: <CABP7RbeuieZ_tT=8ej6sQi94nRC79=rF1Fy8H_hNFhvH2_A7OA@mail.gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.219.54; envelope-from=jasnell@gmail.com; helo=mail-oa0-f54.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.676, 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 1UepQN-0004hI-S9 92880d1a5f031df2e5826aa481884151
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Design Issue: GZIP flag on DATA Frames
Archived-At: <http://www.w3.org/mid/CABP7RbeuieZ_tT=8ej6sQi94nRC79=rF1Fy8H_hNFhvH2_A7OA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18053
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>

Well... if I know that I'm sending a file that is already compressed,
why should I be required to attempt running it through the compressor
again? I get what you're saying, but requiring that content always be
compressed is not always optimal.

On Tue, May 21, 2013 at 9:25 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <CABP7Rbfb92Vxrmxj6fKdt+jpO_Qknq8FRjsu5GZW=17uoi4OFg@mail.gmail.com>
> , James M Snell writes:
>>https://github.com/http2/http2-spec/issues/100
>>
>>Currently the spec includes a requirement that all user-agents MUST
>>support gzip.. specifically:
>
>>If we're going to include this requirement,  ...
>
> How about just nuking Accept-Encoding, and say that _all_ content is
> gzip'ed, but that it is allowed to use the '-0' uncompressed mode ?
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.