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

Eran Hammer-Lahav <eran@hueniverse.com> Thu, 28 January 2010 04:49 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 632063A6997 for <apps-discuss@core3.amsl.com>; Wed, 27 Jan 2010 20:49:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.222
X-Spam-Level:
X-Spam-Status: No, score=-2.222 tagged_above=-999 required=5 tests=[AWL=0.377, 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 Y9VGj71QtUqU for <apps-discuss@core3.amsl.com>; Wed, 27 Jan 2010 20:49:56 -0800 (PST)
Received: from p3plex1out02.prod.phx3.secureserver.net (p3plex1out02.prod.phx3.secureserver.net [72.167.180.18]) by core3.amsl.com (Postfix) with SMTP id 7B0083A6993 for <apps-discuss@ietf.org>; Wed, 27 Jan 2010 20:49:56 -0800 (PST)
Received: (qmail 7912 invoked from network); 28 Jan 2010 04:50:12 -0000
Received: from unknown (HELO smtp.ex1.secureserver.net) (72.167.180.21) by p3plex1out02.prod.phx3.secureserver.net with SMTP; 28 Jan 2010 04:50:12 -0000
Received: from P3PW5EX1MB01.EX1.SECURESERVER.NET ([10.6.135.19]) by P3PW5EX1HT003.EX1.SECURESERVER.NET ([72.167.180.21]) with mapi; Wed, 27 Jan 2010 21:50:11 -0700
From: Eran Hammer-Lahav <eran@hueniverse.com>
To: Mark Nottingham <mnot@mnot.net>
Date: Wed, 27 Jan 2010 21:50:03 -0700
Subject: RE: 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: Acqf0jyxJbDcyPA8S62lFogINNexxQAAvDQA
Message-ID: <90C41DD21FB7C64BB94121FBBC2E723437899D22CC@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <90C41DD21FB7C64BB94121FBBC2E72343788056821@P3PW5EX1MB01.EX1.SECURESERVER.NET> <ABA7C88D-17AC-46DB-BC71-3B7C9F829285@mnot.net>
In-Reply-To: <ABA7C88D-17AC-46DB-BC71-3B7C9F829285@mnot.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
Cc: "apps-discuss@ietf.org" <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: Thu, 28 Jan 2010 04:49:57 -0000

> -----Original Message-----
> From: Mark Nottingham [mailto:mnot@mnot.net]
> Sent: Wednesday, January 27, 2010 8:28 PM
> To: Eran Hammer-Lahav
> Cc: apps-discuss@ietf.org
> Subject: Re: Extension Relation Type Comparison - LC Comment on draft-
> nottingham-http-plink-header-07
> 
> 
> On 26/01/2010, at 4:03 AM, Eran Hammer-Lahav wrote:
> 
> > 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
> 
> None of those are equivalent; it specifies case-insensitive, character-by-
> character. "As URIs" alludes to the fact that an extension type might be
> serialised in a non-URI form; e.g., as a CURIE, if that's your cup of tea.

I have talked to a few folks about this and they all assumed 'as URI' means that outside the lower-case exception, normal URI comparison rules apply. I agree with your intention though that these should be compared as case-insensitive strings.

EHL