Re: anchor parameter - LC comment on draft-nottingham-http-link-header-07.txt

Mark Nottingham <mnot@mnot.net> Fri, 29 January 2010 04:23 UTC

Return-Path: <mnot@mnot.net>
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 22D713A67EA for <apps-discuss@core3.amsl.com>; Thu, 28 Jan 2010 20:23:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.437
X-Spam-Level:
X-Spam-Status: No, score=-3.437 tagged_above=-999 required=5 tests=[AWL=-0.838, BAYES_00=-2.599]
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 Xett-VMaMRf6 for <apps-discuss@core3.amsl.com>; Thu, 28 Jan 2010 20:23:27 -0800 (PST)
Received: from mxout-07.mxes.net (mxout-07.mxes.net [216.86.168.182]) by core3.amsl.com (Postfix) with ESMTP id F3F753A6781 for <discuss@apps.ietf.org>; Thu, 28 Jan 2010 20:23:26 -0800 (PST)
Received: from chancetrain-lm.mnot.net (unknown [118.209.167.68]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 2F2E222E1F1; Thu, 28 Jan 2010 23:23:39 -0500 (EST)
Subject: Re: anchor parameter - LC comment on draft-nottingham-http-link-header-07.txt
Mime-Version: 1.0 (Apple Message framework v1077)
Content-Type: text/plain; charset="us-ascii"
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4B596450.7020001@gmx.de>
Date: Fri, 29 Jan 2010 15:23:37 +1100
Content-Transfer-Encoding: quoted-printable
Message-Id: <F1BF65AA-AE8F-435D-9097-AD629488E134@mnot.net>
References: <20100119053002.5CD613A683B@core3.amsl.com> <E4FF7733-D744-4AC3-AB99-66A12868E4CE@mnot.net> <4B56E27D.800@gmx.de> <4B584E46.7000405@gmx.de> <2C94E45E-3373-4694-BFA3-FA7B595EAF65@mnot.net> <4B596450.7020001@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1077)
Cc: Apps Discuss <discuss@apps.ietf.org>, HTTP Working Group <ietf-http-wg@w3.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, 29 Jan 2010 04:23:28 -0000

On 22/01/2010, at 7:39 PM, Julian Reschke wrote:

> Mark Nottingham wrote:
>> On 21/01/2010, at 11:53 PM, Julian Reschke wrote:
>>> So it appears that this change does not "allow applications to ignore", but "requires applications to specify how to process", so it's an "opt in", not an "opt out".
>> Yes, sorry; forgot to (re-)update the changelog on that one.
>>> That being said: what is an "application" in this context? What needs to be done to specify this? An example would be useful; for instance, it would be interesting what <http://tools.ietf.org/html/draft-brown-versioning-link-relations-06#appendix-A.1> would need to say to specify the required processing of anchor.
>> Yes, it would. "Application" is intentionally a bit fuzzy, because while some link relations are defined by their application, others have been purposefully separated; e.g., "alternate" is used for a variety of purposes.
> 
> OK, what needs to be done to specify this?

Probably just a sentence or two to tease this out at the top. I've been trying to come up with prose for this for a while, but it's difficult to do it without messing it up. Will try again.

> 
>>> In general I think that making this somehow optional will be an interop disaster. Link header processing should be uniform and not depend on some out-of-band information.
>>> 
>>> If the reason this was changed was because of missing support in those UAs that currently handle the "Link" header: let's file bugs.
>> It wasn't, and the link header parsing is the same; it's just the interpretation that changes, depending on whether the application expects the anchor parameter to be used. This was done because in many (or even most) instances, it's very surprising to have a link from A to B to be able to assert things about C, and have their semantics automatically applied. 
> 
> Both *parsing* and *processing* should be uniform.
> 
> I'm ok with allowing recipients to *reject* (*) link headers that include the anchor parameter. On the other hand *ignoring* it needs to be a bug.
> 
> Best regards, Julian
> 
> (*) treat it as invalid


If that's the case, you're saying that whether the anchor is allowed is really a property of the relation type, not the application, aren't you? 


--
Mark Nottingham     http://www.mnot.net/