Extension Relation Type Comparison - LC Comment on draft-nottingham-http-plink-header-07

Eran Hammer-Lahav <eran@hueniverse.com> Mon, 25 January 2010 17:03 UTC

Return-Path: <eran@hueniverse.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 81B753A6928 for <apps-discuss@core3.amsl.com>; Mon, 25 Jan 2010 09:03:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.185
X-Spam-Level:
X-Spam-Status: No, score=-0.185 tagged_above=-999 required=5 tests=[BAYES_40=-0.185]
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 qJ7IlF5ZW6+e for <apps-discuss@core3.amsl.com>; Mon, 25 Jan 2010 09:03:11 -0800 (PST)
Received: from p3plex1out01.prod.phx3.secureserver.net (p3plex1out01.prod.phx3.secureserver.net [72.167.180.17]) by core3.amsl.com (Postfix) with SMTP id BBBC53A67E7 for <apps-discuss@ietf.org>; Mon, 25 Jan 2010 09:03:11 -0800 (PST)
Received: (qmail 17007 invoked from network); 25 Jan 2010 17:03:17 -0000
Received: from unknown (HELO smtp.ex1.secureserver.net) (72.167.180.19) by p3plex1out01.prod.phx3.secureserver.net with SMTP; 25 Jan 2010 17:03:17 -0000
Received: from P3PW5EX1MB01.EX1.SECURESERVER.NET ([10.6.135.19]) by P3PW5EX1HT001.EX1.SECURESERVER.NET ([72.167.180.19]) with mapi; Mon, 25 Jan 2010 10:03:14 -0700
From: Eran Hammer-Lahav <eran@hueniverse.com>
To: "apps-discuss@ietf.org" <apps-discuss@ietf.org>
Date: Mon, 25 Jan 2010 10:03:17 -0700
Subject: Extension Relation Type Comparison - LC Comment on draft-nottingham-http-plink-header-07
Thread-Topic: Extension Relation Type Comparison - LC Comment on draft-nottingham-http-plink-header-07
Thread-Index: Acqd4Eo4LRnlQvASTFaLlM1IWqWzZg==
Message-ID: <90C41DD21FB7C64BB94121FBBC2E72343788056821@P3PW5EX1MB01.EX1.SECURESERVER.NET>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
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: Mon, 25 Jan 2010 17:03:12 -0000

The current text about comparing extension relation types is unclear:

   When extension relation types are compared, they MUST be compared as
   URIs in a case-insensitive fashion, character-by-character.  Because
   of this, all-lowercase URIs SHOULD be used for extension relations.

What does it mean "compared as URIs"?

It is clear that these two URIs would be deemed equivalent:

http://example.com/rel/type
HTTP://example.COM/rel/TYPE

But are they also equivalent to:

http://example.com:80/rel/type

I would argue that normalizing URIs in this context is non-obvious and counter-intuitive. We are not using URIs for the purpose of resolving them, but only as a way to construct unique strings, using the URI format to define authority and minting rules.

I think we would be better off comparing extension relation types "as strings in a case-insensitive fashion, character-by-character".

EHL