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

Julian Reschke <julian.reschke@gmx.de> Tue, 15 January 2013 16:41 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 06D9221F872C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 15 Jan 2013 08:41:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.883
X-Spam-Level:
X-Spam-Status: No, score=-8.883 tagged_above=-999 required=5 tests=[AWL=1.716, BAYES_00=-2.599, 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 tGp1RM6gX+Pc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 15 Jan 2013 08:41:04 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B8A5221F8712 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 15 Jan 2013 08:41:00 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Tv9YD-0006Ex-6J for ietf-http-wg-dist@listhub.w3.org; Tue, 15 Jan 2013 16:39:49 +0000
Resent-Date: Tue, 15 Jan 2013 16:39:49 +0000
Resent-Message-Id: <E1Tv9YD-0006Ex-6J@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Tv9YA-0006EH-C5 for ietf-http-wg@listhub.w3.org; Tue, 15 Jan 2013 16:39:46 +0000
Received: from mout.gmx.net ([212.227.17.21]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1Tv9Y9-0005iU-9m for ietf-http-wg@w3.org; Tue, 15 Jan 2013 16:39:46 +0000
Received: from mailout-de.gmx.net ([10.1.76.32]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0LmQiS-1TMMkv1Qbi-00ZvMG for <ietf-http-wg@w3.org>; Tue, 15 Jan 2013 17:39:19 +0100
Received: (qmail invoked by alias); 15 Jan 2013 16:39:19 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.102]) [217.91.35.233] by mail.gmx.net (mp032) with SMTP; 15 Jan 2013 17:39:19 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18HbJBPwnAHPKYfFYULgzP2vvpMrcBbPr1d3iq7oI 49NdAcvowtlN6t
Message-ID: <50F58637.9030705@gmx.de>
Date: Tue, 15 Jan 2013 17:39:19 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: Karl Dubost <karld@opera.com>
CC: Piotr Dobrogost <p@ietf.dobrogost.net>, ietf-http-wg@w3.org
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>
In-Reply-To: <BD31B7FE-1CB4-48AD-A119-37A3509EF8E9@opera.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=212.227.17.21; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-3.174, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Tv9Y9-0005iU-9m 1149bf3a7f02f8dfb0ac24cab19eaafd
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/50F58637.9030705@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15885
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 2013-01-15 17:23, Karl Dubost wrote:
>
> Le 16 janv. 2013 à 00:30, Julian Reschke a écrit :
>> Note: current text in editor's copy is:
>>
>> "A sender MUST NOT generate multiple header fields with the same field name in a message unless either the entire field value for that header field is defined as a comma-separated list [i.e., #(values)] or the header field is a well-known exception (as noted below)." -- <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-latest.html#rfc.section.3.2.2>
>
>
> but then to my earlier message, Bjoern replied:
>
> Le 10 janv. 2013 à 00:59, Bjoern Hoehrmann a écrit :
>> The Link header appears to be defined as taking a comma-separated list,
>> <http://tools.ietf.org/html/rfc5988#section-5>, so the "MUST NOT" above does not apply to the Link header.
>
>
> and it seems to contradict my understanding.
> My initial point was:
>
>    GET /foo/bar HTTP/1.1
>    Host: blah.example.org
>    Link: </2012/07/26/csstests/csshttplink.css>;rel=stylesheet
>    Link: </>;rel=next
>    […]
>
> If I understand the spec, this above is forbidden. It MUST be

Why would that be forbidden?

 > ...

Best regards, Julian