RE: Multiple Headers

RUELLAN Herve <Herve.Ruellan@crf.canon.fr> Mon, 17 June 2013 16:28 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 760BA21F9BAB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 17 Jun 2013 09:28:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.248
X-Spam-Level:
X-Spam-Status: No, score=-10.248 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HELO_EQ_FR=0.35, HTML_MESSAGE=0.001, 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 22SeWubI57He for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 17 Jun 2013 09:27:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0F3DD21F9BA9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 17 Jun 2013 09:27:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UocHE-0001RO-OX for ietf-http-wg-dist@listhub.w3.org; Mon, 17 Jun 2013 16:27:32 +0000
Resent-Date: Mon, 17 Jun 2013 16:27:32 +0000
Resent-Message-Id: <E1UocHE-0001RO-OX@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1UocH0-0001M7-T9 for ietf-http-wg@listhub.w3.org; Mon, 17 Jun 2013 16:27:18 +0000
Received: from inari-msr.crf.canon.fr ([194.2.158.67]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1UocH0-0004mB-1l for ietf-http-wg@w3.org; Mon, 17 Jun 2013 16:27:18 +0000
Received: from mir-bsr.corp.crf.canon.fr (mir-bsr.corp.crf.canon.fr [172.19.77.99]) by inari-msr.crf.canon.fr (8.13.8/8.13.8) with ESMTP id r5HGQoka022143; Mon, 17 Jun 2013 18:26:50 +0200
Received: from ADELE.crf.canon.fr (adele.fesl2.crf.canon.fr [172.19.70.17]) by mir-bsr.corp.crf.canon.fr (8.13.8/8.13.8) with ESMTP id r5HGQoMs030920; Mon, 17 Jun 2013 18:26:50 +0200
Received: from ADELE.crf.canon.fr ([::1]) by ADELE.crf.canon.fr ([::1]) with mapi id 14.02.0342.003; Mon, 17 Jun 2013 18:26:50 +0200
From: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
To: Jeff Pinner <jpinner@twitter.com>, James M Snell <jasnell@gmail.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: Multiple Headers
Thread-Index: AQHOaqCQu28BAkawyUuJM53lVTp4fpk4UWqAgAA9AQCAAYcpmA==
Date: Mon, 17 Jun 2013 16:26:48 +0000
Message-ID: <6C71876BDCCD01488E70A2399529D5E525EBFF54@ADELE.crf.canon.fr>
References: <CA+pLO_hAbK+Y5uZDTQXCXipbG8mfM+OaF2UYS1FcsmJ1SOjfYA@mail.gmail.com> <CABP7Rbc4RCQ=0FxQF1f2=m9u+ACYszKzeNsLQccYwz+dxjtxGA@mail.gmail.com>, <CA+pLO_hJk2wVEUu3AsK+QFocA3s0Y=2=+-cG5O4HTmg6yV1rog@mail.gmail.com>
In-Reply-To: <CA+pLO_hJk2wVEUu3AsK+QFocA3s0Y=2=+-cG5O4HTmg6yV1rog@mail.gmail.com>
Accept-Language: en-US, fr-FR
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.21.0.253]
Content-Type: multipart/alternative; boundary="_000_6C71876BDCCD01488E70A2399529D5E525EBFF54ADELEcrfcanonfr_"
MIME-Version: 1.0
Received-SPF: none client-ip=194.2.158.67; envelope-from=Herve.Ruellan@crf.canon.fr; helo=inari-msr.crf.canon.fr
X-W3C-Hub-Spam-Status: No, score=-4.9
X-W3C-Hub-Spam-Report: AWL=-1.934, BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-1.103
X-W3C-Scan-Sig: lisa.w3.org 1UocH0-0004mB-1l 00dde4d4da4a09fc1e452e6b66e30a4d
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Multiple Headers
Archived-At: <http://www.w3.org/mid/6C71876BDCCD01488E70A2399529D5E525EBFF54@ADELE.crf.canon.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18236
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>

Yes you correctly read the intent. I will update the last paragraph of "3.1 Header Table" to be clearer.

Yes the server uses the same table when compressing the PUSH_PROMISE headers: the server has only one compression context for the headers it sends. This table needs to be updated to include the request headers contained in a PUSH_PROMISE frame.

Hervé.
________________________________
From: Jeff Pinner [jpinner@twitter.com]
Sent: Sunday, June 16, 2013 20:52
To: James M Snell
Cc: HTTP Working Group
Subject: Re: Multiple Headers

Another point requiring clarification:

The draft lists tables with pre-defined headers for "requests" and "responses." I am presuming that the intention was, for example, that a server would initialize its sending header table with the "response" table listed in appendix A.2.

My question is, should the server also use this table when compressing the PUSH_PROMISE header block which contains "request" headers?


On Sun, Jun 16, 2013 at 8:13 AM, James M Snell <jasnell@gmail.com<mailto:jasnell@gmail.com>> wrote:

It is currently unspecified. There are two ways of doing multiple values in the current draft that may change a bit once we get into the type codecs. Currently you can either null separate the instances in a single header value, or you can use separate opcodes for each (treat them as separate headers). The latter can be far more efficient in the encoding. For now, I'd recommend the separate opcode approach and revisit it when we discuss type codecs in more detail.

On Jun 16, 2013 7:48 AM, "Jeff Pinner" <jpinner@twitter.com<mailto:jpinner@twitter.com>> wrote:
The SPDY spec defined how multiple headers with the same name were to be encoded (as one header with the value-field containing multiple null-separated entries).

Is this the expected encoding for draft-ruellan-http-header-compression-00.txt?