Re: [wellknown-uri-review] A .well-known registration for review: ni

Eran Hammer <eran@hueniverse.com> Tue, 01 May 2012 14:44 UTC

Return-Path: <eran@hueniverse.com>
X-Original-To: wellknown-uri-review@ietfa.amsl.com
Delivered-To: wellknown-uri-review@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8567721E80C3 for <wellknown-uri-review@ietfa.amsl.com>; Tue, 1 May 2012 07:44:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.409
X-Spam-Level:
X-Spam-Status: No, score=-1.409 tagged_above=-999 required=5 tests=[AWL=-1.110, BAYES_00=-2.599, MANGLED_WRLDWD=2.3]
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 rRceaUNAr2YQ for <wellknown-uri-review@ietfa.amsl.com>; Tue, 1 May 2012 07:44:55 -0700 (PDT)
Received: from p3plex2out04.prod.phx3.secureserver.net (p3plex2out04.prod.phx3.secureserver.net [184.168.131.18]) by ietfa.amsl.com (Postfix) with ESMTP id E7D5521E80BD for <wellknown-uri-review@ietf.org>; Tue, 1 May 2012 07:44:54 -0700 (PDT)
Received: from P3PWEX2HT002.ex2.secureserver.net ([184.168.131.10]) by p3plex2out04.prod.phx3.secureserver.net with bizsmtp id 4eku1j0010Dcg9U01eku0W; Tue, 01 May 2012 07:44:54 -0700
Received: from P3PWEX2MB008.ex2.secureserver.net ([169.254.8.88]) by P3PWEX2HT002.ex2.secureserver.net ([184.168.131.10]) with mapi id 14.02.0247.003; Tue, 1 May 2012 07:44:54 -0700
From: Eran Hammer <eran@hueniverse.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Thread-Topic: [wellknown-uri-review] A .well-known registration for review: ni
Thread-Index: Ac0nqPXOW1b13w6MRCiTORkIwkYtuw==
Date: Tue, 01 May 2012 14:44:54 +0000
Message-ID: <0CBAEB56DDB3A140BA8E8C124C04ECA201014A99@P3PWEX2MB008.ex2.secureserver.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [64.74.213.174]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Barry Leiba <barryleiba@computer.org>, "wellknown-uri-review@ietf.org" <wellknown-uri-review@ietf.org>, "draft-farrell-decade-ni@tools.ietf.org" <draft-farrell-decade-ni@tools.ietf.org>
Subject: Re: [wellknown-uri-review] A .well-known registration for review: ni
X-BeenThere: wellknown-uri-review@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Well-Known URI review list <wellknown-uri-review.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/wellknown-uri-review>, <mailto:wellknown-uri-review-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/wellknown-uri-review>
List-Post: <mailto:wellknown-uri-review@ietf.org>
List-Help: <mailto:wellknown-uri-review-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/wellknown-uri-review>, <mailto:wellknown-uri-review-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 May 2012 14:44:55 -0000

I am writing this in my capacity as the registry's Designated Expert.

This will be an informal review as I have not received a proper review request using the template and email format specified in RFC 5785.

I have read through the document and have some concerns about its use of the Well-Known URI registry. When the registry was created, it was explicitly designed not to form a large namespace or allow the creation of resource trees within in. Section 1.1 is pretty explicit about this:

---
1.1.  Appropriate Use of Well-Known URIs

   There are a number of possible ways that applications could use Well-
   known URIs.  However, in keeping with the Architecture of the World-
   Wide Web [W3C.REC-webarch-20041215], well-known URIs are not intended
   for general information retrieval or establishment of large URI
   namespaces on the Web.  Rather, they are designed to facilitate
   discovery of information on a site when it isn't practical to use
   other mechanisms; for example, when discovering policy that needs to
   be evaluated before a resource is accessed, or when using multiple
   round-trips is judged detrimental to performance.

   As such, the well-known URI space was created with the expectation
   that it will be used to make site-wide policy information and other
   metadata available directly (if sufficiently concise), or provide
   references to other URIs that provide such metadata.
---

I do not believe that this draft utilizes the registry in the way it was designed. In fact, it is set to accomplish the exact opposite, where an unlimited number of resources may be made available within the well-known namespace.

An easy solution would be to create a single well-known resource that will always redirect using an HTTP 3xx response to the actual, non-well-known, URI prefix to be used by the rest of the scheme. This is the approach taken by CalDAV and CardDAV well-known resources defined in [1], after a similar discussion.

Another solution is to use the host-meta well-known document [2] by including a property or link record to the actual prefix, or alternatively, using a URI template to allow more flexibility in the design of such URIs (if that is desired).

Of course, the two proposed solutions add another round trip to the request, at least for the initial one - something the document authors will need to consider in their design and use cases.

EH

[1] http://tools.ietf.org/html/draft-daboo-srv-caldav-10
[2] http://tools.ietf.org/html/rfc6415



> -----Original Message-----
> From: wellknown-uri-review-bounces@ietf.org [mailto:wellknown-uri-
> review-bounces@ietf.org] On Behalf Of Stephen Farrell
> Sent: Monday, April 30, 2012 9:00 AM
> Cc: Alexey Melnikov; Barry Leiba; draft-farrell-decade-ni@tools.ietf.org;
> wellknown-uri-review@ietf.org
> Subject: [wellknown-uri-review] A .well-known registration for review
> 
> 
> Hi,
> 
> We have a draft [1] that requests a registration of a .well-known URI.
> 
> The core WG are likely to want to use these we think and possibly decade,
> but they're intended to be generally useful as well.
> 
> Barry Leiba is planning to AD sponsor this and Alexey Melnikov will be
> shepherding so if you can cc them as well as the authors on any questions or
> comments that'd be good.
> 
> I hope the plan is to IETF LC this soon, once this review and the uri
> registrations review are done.
> 
> Thanks,
> Stephen.
> 
> [1] http://tools.ietf.org/html/draft-farrell-decade-ni-05
> _______________________________________________
> wellknown-uri-review mailing list
> wellknown-uri-review@ietf.org
> https://www.ietf.org/mailman/listinfo/wellknown-uri-review