Re: New Version Notification for draft-vkrasnov-h2-compression-dictionaries-01.txt

Martin Thomson <> Thu, 03 November 2016 02:58 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id C463A12007C for <>; Wed, 2 Nov 2016 19:58:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -7.998
X-Spam-Status: No, score=-7.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (2048-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id H547FHpnbiom for <>; Wed, 2 Nov 2016 19:58:44 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 6D32F12951D for <>; Wed, 2 Nov 2016 19:58:44 -0700 (PDT)
Received: from lists by with local (Exim 4.80) (envelope-from <>) id 1c28Ak-00038K-Eb for; Thu, 03 Nov 2016 02:54:34 +0000
Resent-Date: Thu, 03 Nov 2016 02:54:34 +0000
Resent-Message-Id: <>
Received: from ([]) by with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <>) id 1c28Af-00037U-89 for; Thu, 03 Nov 2016 02:54:29 +0000
Received: from ([]) by with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <>) id 1c28AZ-00016f-Bu for; Thu, 03 Nov 2016 02:54:23 +0000
Received: by with SMTP id n6so20721517qtd.1 for <>; Wed, 02 Nov 2016 19:54:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RvQ6IQx6NRBOrG7tKA7KB7tQ+1zxPUAfIHDs+VqmvjY=; b=obTaJldheaWSsNQCByTmDLYB5sWzg3Ml3Mavy72twKqqPfYqDTebugXqUyzxQjroGv RGSdYu0PZC/LJxt3oP3tYaZW/LKJqnXGMPMPmix2Xh0KDlnXJDLUPd0iVPYbvtbEU+Ey 8TPVphmwJYFTRG1HsaoT15FkIoMp48DCUHul7wen9srqeP1jT4quD2OYn9UQ6lyWMeUE 7uX9aSWArLp+F5q4lInJHyzPBbjCKPY0UmsOexVWn1x91IQ8eyYg8AgAA/TzkODq5wbp 4J5ugEPWKlQL5Ww5a51ndkUJNm33tpBb20CIjZg8YZlxI41TXLRiumhO0S4KdLmyEIKA jWeQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RvQ6IQx6NRBOrG7tKA7KB7tQ+1zxPUAfIHDs+VqmvjY=; b=VXJhyAmIY72MHFxjSRHIbiMC3h0gyJcgYo47P+pOGbswP/h5H+KRMgM7DUtm2VPZox OB2Y7j1f/CXRRCEa69RgUlRYGfTZHWXK4r8rTcWitoZLXXOPA8WSTthsyJi6gR7TT5Gj NkWpdDDuXN2fiblC80afHq/ScZ/vUyK5SRXOWSwv2G3VwazeedcBdz+jE6E1E54WltZX 2oxLho/9waifkhIc2NcsUXuHz+vAszHJ5kYLbHZ9rfXTVz1FCHubQy7OwIpMJQ1Fy1M5 Gty9f+qHud2o5ltUlMtLXKij7otMpXnV6TQ7RbXVIRqyzSHQSikymn/nRZt7wx/zV0E4 T1Bg==
X-Gm-Message-State: ABUngvebXwEw4UsBf1rB1Zr8JrMwautfLwftTRfZ4JeJXzCu05DMsNsYnzPSKOv50kFdFvSjAkK0YzkdTr3EdA==
X-Received: by with SMTP id a32mr6041084qtb.32.1478141637464; Wed, 02 Nov 2016 19:53:57 -0700 (PDT)
MIME-Version: 1.0
Received: by with HTTP; Wed, 2 Nov 2016 19:53:56 -0700 (PDT)
In-Reply-To: <>
References: <> <> <> <> <> <> <>
From: Martin Thomson <>
Date: Thu, 3 Nov 2016 13:53:56 +1100
Message-ID: <>
To: Kazuho Oku <>
Cc: Vlad Krasnov <>, Julian Reschke <>, HTTP Working Group <>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=;;
X-W3C-Hub-Spam-Status: No, score=-5.8
X-W3C-Hub-Spam-Report: AWL=-0.253, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: 1c28AZ-00016f-Bu e144ee67591abc6d8fac1480bab376c3
Subject: Re: New Version Notification for draft-vkrasnov-h2-compression-dictionaries-01.txt
Archived-At: <>
X-Mailing-List: <> archive/latest/32828
Precedence: list
List-Id: <>
List-Help: <>
List-Post: <>
List-Unsubscribe: <>

On 3 November 2016 at 12:54, Kazuho Oku <> wrote:
> Personally, I wonder if the approach could be adjusted to using a
> shared compression context between the DATA frames of multiple
> streams. Doing that way, the draft would become more attractive to
> other use-cases (e.g. JSON API in microservices) where many tiny
> responses are sent very frequently. Even if we changed the draft as
> such, a server could still use the trailing part of a pre-compressed
> file, by locking down the response being transmitted to that
> particular one.

I think that this is a better approach.  Treat this like a transfer
coding.  That gives you a lot more flexibility and it doesn't mess
with the representation in ways that might be surprising.

If you want to interact with content codings, make it a content
coding.  At that point, it would be better to make this HTTP version
agnostic, in the same way that SDCH is.  But then you are just
defining a variation on SDCH.