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

Eran Hammer <eran@hueniverse.com> Tue, 01 May 2012 15:56 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 CF11F21E80F6 for <wellknown-uri-review@ietfa.amsl.com>; Tue, 1 May 2012 08:56:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.523
X-Spam-Level:
X-Spam-Status: No, score=-2.523 tagged_above=-999 required=5 tests=[AWL=0.076, BAYES_00=-2.599]
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 ThEv2caoIxX6 for <wellknown-uri-review@ietfa.amsl.com>; Tue, 1 May 2012 08:56:45 -0700 (PDT)
Received: from p3plex2out02.prod.phx3.secureserver.net (p3plex2out02.prod.phx3.secureserver.net [184.168.131.14]) by ietfa.amsl.com (Postfix) with ESMTP id 1263521E8064 for <wellknown-uri-review@ietf.org>; Tue, 1 May 2012 08:56:45 -0700 (PDT)
Received: from P3PWEX2HT002.ex2.secureserver.net ([184.168.131.10]) by p3plex2out02.prod.phx3.secureserver.net with bizsmtp id 4fwk1j0020Dcg9U01fwkw7; Tue, 01 May 2012 08:56:44 -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 08:56:44 -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: Ac0nqPXOW1b13w6MRCiTORkIwkYtuwAQaEGAAA3+/dA=
Date: Tue, 01 May 2012 15:56:43 +0000
Message-ID: <0CBAEB56DDB3A140BA8E8C124C04ECA201014EA6@P3PWEX2MB008.ex2.secureserver.net>
References: <0CBAEB56DDB3A140BA8E8C124C04ECA201014A99@P3PWEX2MB008.ex2.secureserver.net> <4FA0028D.40702@cs.tcd.ie>
In-Reply-To: <4FA0028D.40702@cs.tcd.ie>
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 15:56:45 -0000

The main issue is how to get clients updated to use the other location. If you use host-meta, you don't need any registration, just mint a relation type (registered or uri) and use host-meta to contain this information. If you use the ni well-known location, you need to register that.

My personal preference would be to register the ni prefix and use 3xx to obtain the actual endpoint, unless you think there will be overlap between host-meta identity/authentication/social use cases and this, in which case it will be more effective to reuse host-meta.

EH

> -----Original Message-----
> From: Stephen Farrell [mailto:stephen.farrell@cs.tcd.ie]
> Sent: Tuesday, May 01, 2012 8:35 AM
> To: Eran Hammer
> Cc: Alexey Melnikov; Barry Leiba; draft-farrell-decade-ni@tools.ietf.org;
> wellknown-uri-review@ietf.org
> Subject: Re: [wellknown-uri-review] A .well-known registration for review: ni
> 
> 
> Hi Eran,
> 
> A follow up question.
> 
> If we plumped for the 3xx approach now, on the basis that its simpler, but
> found out later that the host-meta way of doing it would be more useful, is
> there an easy way to update things so both options would be available, in a
> sensible way? (Why do I feel like I'm webfingering:-)
> 
> I want to just go for one approach now, but am wondering if that would need
> a new registry entry if we wanted to use the other one later. That wouldn't
> necessarily be a problem, I'd just like to know before we make a change to
> one or the other.
> 
> Ta,
> S
> 
> On 05/01/2012 03:44 PM, Eran Hammer wrote:
> > 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