RE: Multiple Headers

RUELLAN Herve <Herve.Ruellan@crf.canon.fr> Mon, 17 June 2013 16:24 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 B7C6121F9D5B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 17 Jun 2013 09:24:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level:
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[AWL=-0.001, 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 Yvze8uVfLSOG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 17 Jun 2013 09:24:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7F0A321F9D58 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 17 Jun 2013 09:24:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UocCC-0007hJ-0z for ietf-http-wg-dist@listhub.w3.org; Mon, 17 Jun 2013 16:22:20 +0000
Resent-Date: Mon, 17 Jun 2013 16:22:20 +0000
Resent-Message-Id: <E1UocCC-0007hJ-0z@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1UocBs-0007ft-GF for ietf-http-wg@listhub.w3.org; Mon, 17 Jun 2013 16:22:00 +0000
Received: from inari-msr.crf.canon.fr ([194.2.158.67]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1UocBn-0004SN-GQ for ietf-http-wg@w3.org; Mon, 17 Jun 2013 16:22:00 +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 r5HGLQeJ022028; Mon, 17 Jun 2013 18:21:26 +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 r5HGLQPv030902; Mon, 17 Jun 2013 18:21:26 +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:21:26 +0200
From: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
To: James M Snell <jasnell@gmail.com>, Jeff Pinner <jpinner@twitter.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: Multiple Headers
Thread-Index: AQHOaqCQu28BAkawyUuJM53lVTp4fpk4UWqAgAHEpqg=
Date: Mon, 17 Jun 2013 16:21:25 +0000
Message-ID: <6C71876BDCCD01488E70A2399529D5E525EBEF47@ADELE.crf.canon.fr>
References: <CA+pLO_hAbK+Y5uZDTQXCXipbG8mfM+OaF2UYS1FcsmJ1SOjfYA@mail.gmail.com>, <CABP7Rbc4RCQ=0FxQF1f2=m9u+ACYszKzeNsLQccYwz+dxjtxGA@mail.gmail.com>
In-Reply-To: <CABP7Rbc4RCQ=0FxQF1f2=m9u+ACYszKzeNsLQccYwz+dxjtxGA@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_6C71876BDCCD01488E70A2399529D5E525EBEF47ADELEcrfcanonfr_"
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.0
X-W3C-Hub-Spam-Report: AWL=-2.884, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-1.103
X-W3C-Scan-Sig: maggie.w3.org 1UocBn-0004SN-GQ 6745b1d5fdef1f1b3ce89d76b4e3203f
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Multiple Headers
Archived-At: <http://www.w3.org/mid/6C71876BDCCD01488E70A2399529D5E525EBEF47@ADELE.crf.canon.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18235
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>

There is also the possibility to use a single header value with coma-separated instances.

I will add a note on this subject in the spec.

Hervé.
________________________________
From: James M Snell [jasnell@gmail.com]
Sent: Sunday, June 16, 2013 17:13
To: Jeff Pinner
Cc: HTTP Working Group
Subject: Re: Multiple Headers


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?