Re: p2: Considerations for new headers

Julian Reschke <julian.reschke@gmx.de> Thu, 25 April 2013 14:44 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 E2D7E21F84A7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Apr 2013 07:44:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.216
X-Spam-Level:
X-Spam-Status: No, score=-9.216 tagged_above=-999 required=5 tests=[AWL=1.383, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XBH9VllJowbc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Apr 2013 07:44:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3644621F8C06 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Apr 2013 07:44:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UVNNY-0000nF-Mf for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Apr 2013 14:42:32 +0000
Resent-Date: Thu, 25 Apr 2013 14:42:32 +0000
Resent-Message-Id: <E1UVNNY-0000nF-Mf@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 1UVNNO-0000lR-8h for ietf-http-wg@listhub.w3.org; Thu, 25 Apr 2013 14:42:22 +0000
Received: from mout.gmx.net ([212.227.17.22]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1UVNNJ-0000Va-C6 for ietf-http-wg@w3.org; Thu, 25 Apr 2013 14:42:22 +0000
Received: from mailout-de.gmx.net ([10.1.76.24]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MB0os-1UNiO30Lv2-009u70 for <ietf-http-wg@w3.org>; Thu, 25 Apr 2013 16:41:51 +0200
Received: (qmail invoked by alias); 25 Apr 2013 14:41:50 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.105]) [217.91.35.233] by mail.gmx.net (mp024) with SMTP; 25 Apr 2013 16:41:50 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX180cpZu5ao04tSIPzhV0dJD9EvrFRkqR/vmmJqy5R CsK3cz7a1hsYj/
Message-ID: <517940AA.3040108@gmx.de>
Date: Thu, 25 Apr 2013 16:41:46 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <B191C287-C71F-424A-9270-BF84D118E423@mnot.net> <5177928F.80108@gmx.de>
In-Reply-To: <5177928F.80108@gmx.de>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=212.227.17.22; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.450, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UVNNJ-0000Va-C6 8605f986006e8dbff91c9a0ed5543806
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p2: Considerations for new headers
Archived-At: <http://www.w3.org/mid/517940AA.3040108@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17562
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-04-24 10:06, Julian Reschke wrote:
> On 2013-04-24 10:03, Mark Nottingham wrote:
>> We should consider adding the following to the laundry list of
>> considerations in p2 8.3.1:
>>
>> * Whether the field should be stored by origin servers that understand
>> it upon a PUT request.

<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/2227>

>> Furthermore, I think we should change:
>>
>> * How the header field might interact with caching (see [Part6]).
>>
>> to:
>>
>> * When the header is used in requests and affects response selection
>> [ref], it is good practice to advise listing that header in the Vary
>> response header [ref].

<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/2227> (slightly 
rephrased).

>> Finally, we should add (near the top of the section):
>>
>> """
>> New header fields cannot change the semantics of a message in an
>> incompatible fashion. That is, it is not possible to require
>> recipients to understand a header field through its mere presence.
>> However, new methods and status codes can require the presence of
>> headers in their definitions, in the scope of the message they occur
>> within.
>> """
>>
>> Make sense?
> ...

I think the consequences of the first sentence are not totally clear.

- you can set a new header field on a message, but you can not rely on 
the recipient looking at it (because it's "must ignore")

- you could require the presence of a new header field on a request 
using a new method, or on a response using a new status code

...but then, you could require it in other cases as well (think a new 
auth scheme, a successful upgrade, an applied Preference...).

Not sure how to explain this better...

Best regards, Julian