Re: p2: Considerations for new headers

James M Snell <jasnell@gmail.com> Thu, 25 April 2013 15: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 D532221F9604 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Apr 2013 08:41:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.534
X-Spam-Level:
X-Spam-Status: No, score=-10.534 tagged_above=-999 required=5 tests=[AWL=0.065, 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 VZHiOe6znbg1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Apr 2013 08:41:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 521A921F9605 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Apr 2013 08:41:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UVOGu-0008PO-Cq for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Apr 2013 15:39:44 +0000
Resent-Date: Thu, 25 Apr 2013 15:39:44 +0000
Resent-Message-Id: <E1UVOGu-0008PO-Cq@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1UVOGo-0008Nz-PS for ietf-http-wg@listhub.w3.org; Thu, 25 Apr 2013 15:39:38 +0000
Received: from mail-ob0-f180.google.com ([209.85.214.180]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1UVOGk-0003Ny-CS for ietf-http-wg@w3.org; Thu, 25 Apr 2013 15:39:38 +0000
Received: by mail-ob0-f180.google.com with SMTP id uk5so2568894obc.25 for <ietf-http-wg@w3.org>; Thu, 25 Apr 2013 08:39:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=6qERx5Eea1KqYYh3v+Vf4aphBc9Xb4roon4fElTyI8Q=; b=LwNYtSdZ3S8N0oMQ8rRogt7F4Uu7K5qmOebirhpYxqwmzgmCdLKxzXnyHlLrRdijiF UnZrQy6iOgZObyGv7Q6/WAyMeHgaQQ4fC2ISQtJb1koUUROoh4aoYifQmx+LlGyXOVzn 4M3ERSDhpPUWmycOWbQUQuKFwinbNhPeztTzELV3xohqTMY7AjuOBZPpQki8dierrXnn yp81rsy62UwNblkHrvTRiOH+3RHNMpyucQZPVytiPXgFhtHfnRCH3FJdLop+oNHos7rl BZHGr3Jkb1UxU8PdPjWYzA6yiYICRAZwKuhRUXET+HcqCqwzKDqdzGn2KLsF8hynKcpd d7xA==
X-Received: by 10.60.47.84 with SMTP id b20mr1315222oen.135.1366904348478; Thu, 25 Apr 2013 08:39:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.60.3.137 with HTTP; Thu, 25 Apr 2013 08:38:48 -0700 (PDT)
In-Reply-To: <517940AA.3040108@gmx.de>
References: <B191C287-C71F-424A-9270-BF84D118E423@mnot.net> <5177928F.80108@gmx.de> <517940AA.3040108@gmx.de>
From: James M Snell <jasnell@gmail.com>
Date: Thu, 25 Apr 2013 08:38:48 -0700
Message-ID: <CABP7RbeVBRN1qSD2mhJvBXZ41BwnrAkN5VnChV4tOdqvA7MMtA@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.214.180; envelope-from=jasnell@gmail.com; helo=mail-ob0-f180.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.698, 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 1UVOGk-0003Ny-CS 8e4759dacbc57f079a3ca474d5abd7d0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p2: Considerations for new headers
Archived-At: <http://www.w3.org/mid/CABP7RbeVBRN1qSD2mhJvBXZ41BwnrAkN5VnChV4tOdqvA7MMtA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17563
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>

FWIW, I'm comfortable with Mark's suggested text. I think it gets the
point across ok, although it's not entirely clear what "understand a
header field" means. Perhaps it would be better to say that the mere
presence of a new header field cannot compel implementations to take
any specific action. Either way, tho, I can live with Mark's wording.

On Thu, Apr 25, 2013 at 7:41 AM, Julian Reschke <julian.reschke@gmx.de> wrote:
[snip]
>>> 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
>
>
>