Re: draft-reschke-rfc2231-in-http: section 4.2, Error Handling

Thomas Roessler <tlr@w3.org> Fri, 26 February 2010 17:40 UTC

Return-Path: <roessler@gmail.com>
X-Original-To: apps-discuss@core3.amsl.com
Delivered-To: apps-discuss@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EF21628C279 for <apps-discuss@core3.amsl.com>; Fri, 26 Feb 2010 09:40:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yr6fKKchWp2L for <apps-discuss@core3.amsl.com>; Fri, 26 Feb 2010 09:40:52 -0800 (PST)
Received: from mail-gx0-f214.google.com (mail-gx0-f214.google.com [209.85.217.214]) by core3.amsl.com (Postfix) with ESMTP id 14A1F28C264 for <apps-discuss@ietf.org>; Fri, 26 Feb 2010 09:40:51 -0800 (PST)
Received: by gxk6 with SMTP id 6so159969gxk.14 for <apps-discuss@ietf.org>; Fri, 26 Feb 2010 09:43:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=hjeWuXjkgMm+qZ7ySoS+7CewKKYCHcT0hvg7/hP61z8=; b=mjsA7sP52G0s8puwHd31B9Dei7cw+G8IKq8spN3A5O9fwUNQOwu0DhrjpXgTp8CWwN 46VmBEuTcaIQAqcxcMnwNnm7vEHkZ+HuKT+BC7ENl6BBz7nVhFe7Jvz8EYMvcKWdQ+Yg O+XLoaU1qm9SvYVuAg1XCmV09kd1Zk1FZnS1U=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=BRB5Ej7fHQWlfCChYIJ7+cpn1HKj6bYcFd7XM6pzToAhTrn4Oq7AQXxpVrSLVQJhXV tY/diQUJ4tmMYckWXEU08nLxCpBM1P6xFWo2VGMZpQlKblwQ2wJfZkZ214NQiWKS8xBy B860jFPlg4kr+WJY6z8ku/FwKLV4j51v4WkG0=
MIME-Version: 1.0
Sender: roessler@gmail.com
Received: by 10.101.130.13 with SMTP id h13mr1181566ann.47.1267206179190; Fri, 26 Feb 2010 09:42:59 -0800 (PST)
In-Reply-To: <4B87F0FB.6090605@gmx.de>
References: <4c80fa21002241136y629dda22l1d7617eb25250af8@mail.gmail.com> <4B87F0FB.6090605@gmx.de>
Date: Fri, 26 Feb 2010 18:42:59 +0100
X-Google-Sender-Auth: de688597a1f16000
Message-ID: <4c80fa21002260942g3aacf02ak20510ca9d9c0659@mail.gmail.com>
Subject: Re: draft-reschke-rfc2231-in-http: section 4.2, Error Handling
From: Thomas Roessler <tlr@w3.org>
To: Julian Reschke <julian.reschke@gmx.de>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: apps-discuss@ietf.org
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Feb 2010 17:40:53 -0000

On Fri, Feb 26, 2010 at 5:04 PM, Julian Reschke <julian.reschke@gmx.de> wrote:

>> Leaving the choice of precedence to the header specification implies
>> that parsers need to special-case. It would seem reasonable to make a
>> choice in this specification that for properties which can only occur
>> once, the traditional syntax takes precedence.
>
> That would rule out the use case where the traditional syntax is used as a
> fallback for clients that do not support the new syntax, as discussed in
> that section:
>
> "Header specifications that include parameters should also specify whether
> same-named parameters can occur multiple times. If repetitions are not
> allowed (and this is believed to be the common case), the specification
> should state whether regular or the extended syntax takes precedence. In the
> latter case, this could be used by producers to use both formats without
> breaking recipients that do not understand the syntax.

That's a compelling argument for choosing "new style takes precedence"
in the spec; I don't know of good arguments the other way.

My main point is that I think we should make a choice (and either of
the possible choices sounds reasonable), not which of the specific
choices it should be.