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

Nico Williams <nico@cryptonector.com> Wed, 16 January 2013 01:04 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 B901921F8692 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 15 Jan 2013 17:04:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.795
X-Spam-Level:
X-Spam-Status: No, score=-7.795 tagged_above=-999 required=5 tests=[AWL=2.182, 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 1sAzFBHqik8q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 15 Jan 2013 17:04:11 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3DCF721F868F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 15 Jan 2013 17:04:11 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TvHPW-0002Lk-LB for ietf-http-wg-dist@listhub.w3.org; Wed, 16 Jan 2013 01:03:22 +0000
Resent-Date: Wed, 16 Jan 2013 01:03:22 +0000
Resent-Message-Id: <E1TvHPW-0002Lk-LB@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1TvHPS-0002Ka-J3 for ietf-http-wg@listhub.w3.org; Wed, 16 Jan 2013 01:03:18 +0000
Received: from caiajhbdcagg.dreamhost.com ([208.97.132.66] helo=homiemail-a65.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1TvHPR-0004Y5-JF for ietf-http-wg@w3.org; Wed, 16 Jan 2013 01:03:18 +0000
Received: from homiemail-a65.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTP id BAD957E4065 for <ietf-http-wg@w3.org>; Tue, 15 Jan 2013 17:02:56 -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=FFLNImWM9JMyPzgo503W zkz9cG0=; b=A2MVmBj5xwtAGV68O1+eDO/sMP0+mpWnhhNUEjND9OE9EEJGoqVT egiJJ6QXN2CRe2D3NaprNS5Vs253gXSPy0X29TAT5bVjkA62orR9B59c9dp3ihhQ Jrc8hwyB9JeBTexEATulzjV+7E9maetS1BoWGdofhKUVGeSF9IH89B0=
Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a65.g.dreamhost.com (Postfix) with ESMTPSA id 632C87E405D for <ietf-http-wg@w3.org>; Tue, 15 Jan 2013 17:02:56 -0800 (PST)
Received: by mail-wg0-f46.google.com with SMTP id dr13so492985wgb.13 for <ietf-http-wg@w3.org>; Tue, 15 Jan 2013 17:02:55 -0800 (PST)
MIME-Version: 1.0
Received: by 10.194.77.13 with SMTP id o13mr145045908wjw.58.1358298175163; Tue, 15 Jan 2013 17:02:55 -0800 (PST)
Received: by 10.217.82.73 with HTTP; Tue, 15 Jan 2013 17:02:55 -0800 (PST)
In-Reply-To: <50F5FA1B.4000401@gmx.de>
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> <CAK3OfOj8G3gFbTK_vPSnjS0qij+SUB3t9CdG80FYW5tbGgKR3A@mail.gmail.com> <C6A43E78-4F94-4FE3-A049-678555896FEC@mnot.net> <CAA6tFMvNifekQse9H6cbAXxsz1YXNPniW3QmxZo0GdLKZv3i_A@mail.gmail.com> <50F5FA1B.4000401@gmx.de>
Date: Tue, 15 Jan 2013 19:02:55 -0600
Message-ID: <CAK3OfOifs_EffAWkK8+FNxU-pOiDUpJP7x0GjxUYQ66YPgvWcw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: 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.66; envelope-from=nico@cryptonector.com; helo=homiemail-a65.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: AWL=-1.787, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1TvHPR-0004Y5-JF 8dbaa6bd206c31351caf093063c2bc8f
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/CAK3OfOifs_EffAWkK8+FNxU-pOiDUpJP7x0GjxUYQ66YPgvWcw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15898
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 6:53 PM, Julian Reschke <julian.reschke@gmx.de> wrote:
> On 2013-01-16 00:38, Piotr Dobrogost wrote:
>> I guess what Nico had in mind is if this subject could be clarified in
>> 2.0 so that we won't have problems we have now in the future.
>
>
> What problem, exactly?
>
> Given a valid message, you can combine header fields as specified in the
> spec. But you don't have to.

You shouldn't if you're a middlebox.