Re: Header addition with HTTP 2.0
Amos Jeffries <squid3@treenet.co.nz> Wed, 01 April 2015 04:01 UTC
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 58CB91A802E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Mar 2015 21:01:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.912
X-Spam-Level:
X-Spam-Status: No, score=-6.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0MdpGFqvHIcX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 Mar 2015 21:01:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B9FC31A802D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 Mar 2015 21:01:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Yd9mf-0000n6-4u for ietf-http-wg-dist@listhub.w3.org; Wed, 01 Apr 2015 03:57:41 +0000
Resent-Date: Wed, 01 Apr 2015 03:57:41 +0000
Resent-Message-Id: <E1Yd9mf-0000n6-4u@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <squid3@treenet.co.nz>) id 1Yd9ma-0000mH-SB for ietf-http-wg@listhub.w3.org; Wed, 01 Apr 2015 03:57:36 +0000
Received: from 121-99-228-82.static.orcon.net.nz ([121.99.228.82] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Yd9mX-00004z-Kn for ietf-http-wg@w3.org; Wed, 01 Apr 2015 03:57:34 +0000
Received: from [192.168.20.12] (121-99-25-188.bng1.nct.orcon.net.nz [121.99.25.188]) by treenet.co.nz (Postfix) with ESMTP id 85AC9E6F12 for <ietf-http-wg@w3.org>; Wed, 1 Apr 2015 15:57:00 +1200 (NZST)
Message-ID: <551B6C8A.7050304@treenet.co.nz>
Date: Wed, 01 Apr 2015 16:56:58 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CAKwtvnAtuF-X3pgbgLe7VAdnMd4+Yy1EeZLaHgyXXTnZRBgFZw@mail.gmail.com> <CACMu3toR56=u+XG1qtGD=HP9Sy32rd_23QNRMzX3+XwucFYxhA@mail.gmail.com> <CACMu3toheWOPAmEFyuM-uH1NZkL-g2Tw-CuFbv_5fAOG8tyY-Q@mail.gmail.com> <CAKwtvnDh+mmJjf0V6UzZimX7ng0Um8StTdQd=Ej=-rHeWGjLOQ@mail.gmail.com> <CACMu3tqpQFzCJHRW8DjwhveLY5+-0YAb+owgTBbfevONu7nvXA@mail.gmail.com> <CABkgnnWbOUoRv0rCJ=WHnVnThaPOdOeXtxyXTLWi-7ZyrdZ4dQ@mail.gmail.com>
In-Reply-To: <CABkgnnWbOUoRv0rCJ=WHnVnThaPOdOeXtxyXTLWi-7ZyrdZ4dQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=121.99.228.82; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-5.4
X-W3C-Hub-Spam-Report: AWL=-1.460, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1Yd9mX-00004z-Kn ea45698ee3f660940821e7ea2b818e62
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Header addition with HTTP 2.0
Archived-At: <http://www.w3.org/mid/551B6C8A.7050304@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29159
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 1/04/2015 11:19 a.m., Martin Thomson wrote: > On 31 March 2015 at 13:17, Bence Béky wrote: >> Sorry, I forgot about that. In that case, you are right, there is no >> way to avoid re-encoding the header. > > There is: if you aren't doing anything more than adding a header > field, as long as you choose a literal representation and you also > pass through all messages that relate to the header table (max size, > everything) verbatim, you can shim this in. You won't learn much in > the process though unless you maintain your own table because you > won't be able to decode header fields without the header table. > And to carify for the record by "shim it in" you mean append/insert the new header to the existing HEADERS payload using a "Literal Header Field without Indexing" and incrementing the HEADERS length field to account for the new bytes, right? With of course the complex logical adjustments for HEADERS padding, frame max-length and CONTINUATION frames. PS. "Literal Header Field never Indexed" is also an option, but restricting what recipient proxies can do to relay the HEADERS is not always desired. Either of the not-Indexed encodings will work. Amos
- Re: Header addition with HTTP 2.0 Roberto Peon
- Header addition with HTTP 2.0 Vimala Tadepalli
- Re: Header addition with HTTP 2.0 Vimala Tadepalli
- Re: Header addition with HTTP 2.0 Roberto Peon
- Re: Header addition with HTTP 2.0 Vimala Tadepalli
- Re: Header addition with HTTP 2.0 Vimala Tadepalli
- Fwd: Header addition with HTTP 2.0 Bence Béky
- Re: Header addition with HTTP 2.0 Bence Béky
- Re: Header addition with HTTP 2.0 Vimala Tadepalli
- Re: Header addition with HTTP 2.0 Bence Béky
- Re: [Moderator Action] Header addition with HTTP … Bence Béky
- Re: Header addition with HTTP 2.0 Martin Thomson
- Re: Header addition with HTTP 2.0 Amos Jeffries