Re: Multiple header fields with the same field name - unwritten assumption about quoted commas in values?
Zhong Yu <zhong.j.yu@gmail.com> Wed, 16 January 2013 01:06 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 0670321F869B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 15 Jan 2013 17:06:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.479
X-Spam-Level:
X-Spam-Status: No, score=-10.479 tagged_above=-999 required=5 tests=[AWL=0.120, 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 Aq6aE5FSK2ny for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 15 Jan 2013 17:06:46 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6781B21F8696 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 15 Jan 2013 17:06:46 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TvHSB-0003qV-5I for ietf-http-wg-dist@listhub.w3.org; Wed, 16 Jan 2013 01:06:07 +0000
Resent-Date: Wed, 16 Jan 2013 01:06:07 +0000
Resent-Message-Id: <E1TvHSB-0003qV-5I@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TvHS7-0003pN-E4 for ietf-http-wg@listhub.w3.org; Wed, 16 Jan 2013 01:06:03 +0000
Received: from mail-oa0-f43.google.com ([209.85.219.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TvHS6-0004ff-UK for ietf-http-wg@w3.org; Wed, 16 Jan 2013 01:06:03 +0000
Received: by mail-oa0-f43.google.com with SMTP id k1so858446oag.16 for <ietf-http-wg@w3.org>; Tue, 15 Jan 2013 17:05:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PTmu2ENmGHM8LfxIHW08UDnqt/jR3emaP5OnHz5/fy4=; b=Ix61ltSC2Ig5HcPQ6sJvOjC95eV/uDBcRNT8i9l/kmhmGtaXzwDi1MgU7LpfDIWl9h vpuSD/qmV4D5G7im4sUOC2XtWxXoQYI1nmojuprmnPAOKGYAL0oyzz3bJ+umEfZ67G1H etCtBhgJ679ukXQeEGwXTlmsgbQX3kE7qCAwOAbR65wJ4quRhuWACLF08EHxxwdHWEAo fhwgJZhYuGhWMkPLH3HI2ZUW3gnTtX6V7QkvJe5q8GSouzwb/Ix5FH4qltgGkmMtlrNS 5v+0OOjUbL8VZG03UumAcQjrmn9/xMfS7mTSlE0wtUuoa+pT/685xjMbchpFTGFjyJ3l E+JA==
MIME-Version: 1.0
Received: by 10.182.113.101 with SMTP id ix5mr28459492obb.73.1358298337014; Tue, 15 Jan 2013 17:05:37 -0800 (PST)
Received: by 10.76.12.227 with HTTP; Tue, 15 Jan 2013 17:05:36 -0800 (PST)
In-Reply-To: <CAK3OfOj8G3gFbTK_vPSnjS0qij+SUB3t9CdG80FYW5tbGgKR3A@mail.gmail.com>
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>
Date: Tue, 15 Jan 2013 19:05:36 -0600
Message-ID: <CACuKZqHO_QaWP35DAygM+Pjt44OOzwv7AyZ+WsTwBUyBHA0rDg@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: Mark Nottingham <mnot@mnot.net>, 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="ISO-8859-1"
Received-SPF: pass client-ip=209.85.219.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-oa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.707, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TvHS6-0004ff-UK 73745dfd53870c7fab3d414a3e43235e
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/CACuKZqHO_QaWP35DAygM+Pjt44OOzwv7AyZ+WsTwBUyBHA0rDg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15899
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 5:22 PM, Nico Williams <nico@cryptonector.com> wrote: > 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 Ideally no header should be repeated - it adds another layer of structure that needs to be explained. RFC 822 seems to allow, but discourage multiple headers of the same name 4.1. This specification permits multiple occurrences of most fields. Except as noted, their interpretation is not specified here, and their use is discouraged. RFC 2616 probably wanted to clarify the meaning of multiple occurrences, instead of leaving them undefined. > 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 > -- >
- Multiple header fields with the same field name -… Piotr Dobrogost
- Re: Multiple header fields with the same field na… Zhong Yu
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Piotr Dobrogost
- Re: Multiple header fields with the same field na… Karl Dubost
- Re: Multiple header fields with the same field na… Bjoern Hoehrmann
- Re: Multiple header fields with the same field na… Zhong Yu
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Piotr Dobrogost
- Re: Multiple header fields with the same field na… Zhong Yu
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Alexander Dutton
- Re: Multiple header fields with the same field na… Piotr Dobrogost
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Zhong Yu
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Piotr Dobrogost
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Zhong Yu
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Poul-Henning Kamp
- Re: Multiple header fields with the same field na… Karl Dubost
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Piotr Dobrogost
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Karl Dubost
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Willy Tarreau
- Re: Multiple header fields with the same field na… Bjoern Hoehrmann
- Re: Multiple header fields with the same field na… Mark Nottingham
- Re: Multiple header fields with the same field na… Nico Williams
- Re: Multiple header fields with the same field na… Mark Nottingham
- Re: Multiple header fields with the same field na… Nico Williams
- Re: Multiple header fields with the same field na… Piotr Dobrogost
- Re: Multiple header fields with the same field na… Mark Nottingham
- Re: Multiple header fields with the same field na… Nico Williams
- Re: Multiple header fields with the same field na… Mark Nottingham
- Re: Multiple header fields with the same field na… Nico Williams
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Nico Williams
- Re: Multiple header fields with the same field na… Zhong Yu
- Re: Multiple header fields with the same field na… Julian Reschke
- Re: Multiple header fields with the same field na… Roy T. Fielding
- Re: Multiple header fields with the same field na… Zhong Yu
- Re: Multiple header fields with the same field na… Karl Dubost
- Re: Multiple header fields with the same field na… Willy Tarreau
- Re: Multiple header fields with the same field na… Amos Jeffries
- Re: Multiple header fields with the same field na… Zhong Yu
- Re: Multiple header fields with the same field na… Willy Tarreau
- Re: Multiple header fields with the same field na… Nico Williams
- Re: Multiple header fields with the same field na… Mark Nottingham
- #429: Multiple header fields with the same field … Mark Nottingham
- Re: #429: Multiple header fields with the same fi… Willy Tarreau
- Re: #429: Multiple header fields with the same fi… Mark Nottingham
- Re: #429: Multiple header fields with the same fi… Willy Tarreau