Re: Design Issue: GZIP flag on DATA Frames

James M Snell <jasnell@gmail.com> Tue, 21 May 2013 16:48 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 24E2421F974B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 May 2013 09:48:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.337
X-Spam-Level:
X-Spam-Status: No, score=-9.337 tagged_above=-999 required=5 tests=[AWL=1.262, 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 22ILA3cZ7PkY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 May 2013 09:48:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CA10321F983D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 May 2013 09:48:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UepjQ-0003bt-C6 for ietf-http-wg-dist@listhub.w3.org; Tue, 21 May 2013 16:48:12 +0000
Resent-Date: Tue, 21 May 2013 16:48:12 +0000
Resent-Message-Id: <E1UepjQ-0003bt-C6@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1UepjF-0003Zd-Ku for ietf-http-wg@listhub.w3.org; Tue, 21 May 2013 16:48:01 +0000
Received: from mail-oa0-f50.google.com ([209.85.219.50]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1UepjE-0006Mj-S3 for ietf-http-wg@w3.org; Tue, 21 May 2013 16:48:01 +0000
Received: by mail-oa0-f50.google.com with SMTP id l20so1112073oag.37 for <ietf-http-wg@w3.org>; Tue, 21 May 2013 09:47:34 -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=sOmPMzbYKsg7L1KT0x2Igs2y5tR0B/VPgVbiK83g8UQ=; b=b4Mn0ZjIBFAAc6Rg3aJ8ylTA5Z6/rBVRPyrAK3lCRyqntRcO0JZljrZO+tfvGBoHBQ GyIT6g2QCwCdOxh48vwdy8cwKt7uvhC39oNw428gQp5NlPnRVQqndRFlqpQXr2N9RuTd l5G8Xe2wamgmtzqDPWq3r4+/7WhbdI4/1/CQ6gNfCaMRtHd5Rw84GsGZmQD6VAwBfLKV DowU1IgRvBNvVm4dpGM7MXWzVJfBAloa7UFsxwTyrlaHYo60HFrhUcBhkO8QmJYXqgDb GUr2y/kbt//NtT0PJQc8h5QjtkbeRCWErw4UaIGCq/UYj8HJpZGAMpl2Q/LSXl8EBsmb fn7A==
X-Received: by 10.182.129.4 with SMTP id ns4mr2065948obb.22.1369154854707; Tue, 21 May 2013 09:47:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.60.3.137 with HTTP; Tue, 21 May 2013 09:47:14 -0700 (PDT)
In-Reply-To: <3910.1369154288@critter.freebsd.dk>
References: <CABP7Rbfb92Vxrmxj6fKdt+jpO_Qknq8FRjsu5GZW=17uoi4OFg@mail.gmail.com> <3818.1369153537@critter.freebsd.dk> <CABP7RbeuieZ_tT=8ej6sQi94nRC79=rF1Fy8H_hNFhvH2_A7OA@mail.gmail.com> <3910.1369154288@critter.freebsd.dk>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 21 May 2013 09:47:14 -0700
Message-ID: <CABP7RbePCcbdQvy0=3iiwqyXxnn1M8W+RQzWNEBjX48i3+taxw@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.50; envelope-from=jasnell@gmail.com; helo=mail-oa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.659, 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: maggie.w3.org 1UepjE-0006Mj-S3 38f33f916041773adb495bf96488bbc4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Design Issue: GZIP flag on DATA Frames
Archived-At: <http://www.w3.org/mid/CABP7RbePCcbdQvy0=3iiwqyXxnn1M8W+RQzWNEBjX48i3+taxw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18060
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>

Actually, my apologies, for some reason my brain did not register the
"allowed to used the '-0' uncompressed mode" in your first note. The
approach you suggest could definitely work, I think.

On Tue, May 21, 2013 at 9:38 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <CABP7RbeuieZ_tT=8ej6sQi94nRC79=rF1Fy8H_hNFhvH2_A7OA@mail.gmail.com>
> , James M Snell writes:
>
>>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?
>
> Why would you do that if it is already compressed ?
>
> --
> 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.