Re: Multiple header fields with the same field name - unwritten assumption about quoted commas in values?

Nico Williams <nico@cryptonector.com> Tue, 15 January 2013 23: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 6983E21F85B2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 15 Jan 2013 15:24:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.977
X-Spam-Level:
X-Spam-Status: No, score=-6.977 tagged_above=-999 required=5 tests=[AWL=3.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lb9PwAJkijhJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 15 Jan 2013 15:24:58 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BA6D921F859A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 15 Jan 2013 15:24:58 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TvFqX-0004Ae-6h for ietf-http-wg-dist@listhub.w3.org; Tue, 15 Jan 2013 23:23:09 +0000
Resent-Date: Tue, 15 Jan 2013 23:23:09 +0000
Resent-Message-Id: <E1TvFqX-0004Ae-6h@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1TvFqT-00049z-C5 for ietf-http-wg@listhub.w3.org; Tue, 15 Jan 2013 23:23:05 +0000
Received: from caiajhbdcbhh.dreamhost.com ([208.97.132.177] helo=homiemail-a27.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1TvFqS-0003r0-Hr for ietf-http-wg@w3.org; Tue, 15 Jan 2013 23:23:05 +0000
Received: from homiemail-a27.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTP id EFAB0598085 for <ietf-http-wg@w3.org>; Tue, 15 Jan 2013 15:22:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=Y6vaUTcTgq/LYG0EX3kf N3igSJc=; b=k3StdZNjfD4uwMMeSY3wDkDCxuBBlhaAIaxeSh6SxOAZbG2F2har WomHERwr6I7wuVrs9p2Q/MNeRep7ZCfyMER1A1c4NQtTz+l1G2zDDjR7rVtUsmlS +mE+v9TYO/uyeepcxip1wYBSDXQFksFwNgQgnTfQMDRScBLVkekC/iE=
Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTPSA id 957AC598081 for <ietf-http-wg@w3.org>; Tue, 15 Jan 2013 15:22:42 -0800 (PST)
Received: by mail-wg0-f41.google.com with SMTP id ds1so2273973wgb.2 for <ietf-http-wg@w3.org>; Tue, 15 Jan 2013 15:22:41 -0800 (PST)
MIME-Version: 1.0
Received: by 10.194.58.113 with SMTP id p17mr15183014wjq.27.1358292160810; Tue, 15 Jan 2013 15:22:40 -0800 (PST)
Received: by 10.217.82.73 with HTTP; Tue, 15 Jan 2013 15:22:40 -0800 (PST)
In-Reply-To: <6D9EA8FA-50A6-44B1-A2EF-BB428E94183C@mnot.net>
References: <CAA6tFMtOtpu-KJ1PMctU-XqZBXieOgb=uxPNj9wkRBvvbK7iXg@mail.gmail.com> <CACuKZqFWzApgkbQUEgOoNrumJFKSeVFZeCzZgvWDBGukykVqiA@mail.gmail.com> <50ED4DB4.5010803@gmx.de> <CACuKZqHDWbNMiwjkxvBuAt-UEg_tjzEvFZsyXM2U+5H5qxK76A@mail.gmail.com> <50ED9CEF.8080609@gmx.de> <CACuKZqFQ1=0sU7uhnh9_xew5=jPjS3WtEgrtu1RFH+Nu_=FwrQ@mail.gmail.com> <50EDA819.4040402@gmx.de> <CACuKZqH4+JUe4Gqp7LRGkCorFdQ107S=sf2uOSZnMkdgHmJaaQ@mail.gmail.com> <50EDD95C.9080206@gmx.de> <CAA6tFMsgAKL+-UW6rS0ScxpvukBhJ2ExT9KMWudiKa65YCpkew@mail.gmail.com> <50F549D8.2050501@gmx.de> <360A0ACE-4CA6-400A-BFE9-7DFF89AAB439@opera.com> <50F57628.5030502@gmx.de> <BD31B7FE-1CB4-48AD-A119-37A3509EF8E9@opera.com> <6D9EA8FA-50A6-44B1-A2EF-BB428E94183C@mnot.net>
Date: Tue, 15 Jan 2013 17:22:40 -0600
Message-ID: <CAK3OfOj8G3gFbTK_vPSnjS0qij+SUB3t9CdG80FYW5tbGgKR3A@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Karl Dubost <karld@opera.com>, Julian Reschke <julian.reschke@gmx.de>, Piotr Dobrogost <p@ietf.dobrogost.net>, ietf-http-wg@w3.org
Content-Type: text/plain; charset="UTF-8"
Received-SPF: none client-ip=208.97.132.177; envelope-from=nico@cryptonector.com; helo=homiemail-a27.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-3.6
X-W3C-Hub-Spam-Report: AWL=-3.451, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1TvFqS-0003r0-Hr c3fb5b671fc542977c4ec80f79af8cbe
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Multiple header fields with the same field name - unwritten assumption about quoted commas in values?
Archived-At: <http://www.w3.org/mid/CAK3OfOj8G3gFbTK_vPSnjS0qij+SUB3t9CdG80FYW5tbGgKR3A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15889
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 Tue, Jan 15, 2013 at 4:09 PM, Mark Nottingham <mnot@mnot.net> wrote:
> Saying that headers can only be combined under certain circumstances doesn't mean that they're required to be combined.

It might help to be able to say that all new headers must be
mergeable.  That is: how can a proxy or what have you, know whether
it's OK to merge a given header's multiple instances?  And I think the
answer is as Poul said: you should never do it.  But then shouldn't we
say so?

Whatever was the point of this feature in the first place?  Was it a
form of header compression?  If so, isn't it best to stop merging
multiple instances of headers and just go with whatever header
compression scheme we settle on?

Nico
--