W3C home > Mailing lists > Public > www-tag@w3.org > June 2009

RE: URI for abstract concepts (domain, host, origin, site, etc.)

From: Sanderson, Rob <azaroth@liverpool.ac.uk>
Date: Fri, 26 Jun 2009 09:20:07 +0100
To: Eran Hammer-Lahav <eran@hueniverse.com>, Dan Connolly <connolly@w3.org>
CC: "apps-discuss@ietf.org" <apps-discuss@ietf.org>, "www-tag@w3.org" <www-tag@w3.org>, URI <uri@w3.org>
Message-ID: <07ACC5798668CC49BFF65E873D2A15901473D5CC85@STAFFMBX2.livad.liv.ac.uk>

You could use an info URI, which were specifically registered for abstract concepts.

http://www.info-uri.info/

Rob Sanderson

________________________________________
From: uri-request@w3.org [uri-request@w3.org] On Behalf Of Eran Hammer-Lahav [eran@hueniverse.com]
Sent: 26 June 2009 04:18
To: Dan Connolly
Cc: apps-discuss@ietf.org; www-tag@w3.org; URI
Subject: RE: URI for abstract concepts (domain, host, origin, site, etc.)

> From: Dan Connolly [mailto:connolly@w3.org]
> Sent: Thursday, June 25, 2009 7:52 PM

> > How would a client know that this URI isn't for an actual HTTP
> resource without creating "well-known-location" URIs (option #1 in my
> original email)?
>
> It _is_ for an actual HTTP resource; i.e. something
> described/discussed in a document you can get by HTTP. Since
> documents can describe/discuss anything, they can describe/discuss
> things like origins and such. RDF is particularly suited
> for this purpose, but I can imagine other media types
> might work too... text/html with RDFa is pretty hip
> these days.

In my case, the "resource" is the concept of a host, which is the combination of a domain name, port number, and protocol used on that port. I want to be able to describe this host by saying, "this is how you transform any HTTP URI that belongs to this host to the URI of its metadata". There are plenty of ways to express this statement but so far I don't have a good way to express the subject of this statement - the host.

Of course, I can come up with something like this:

http://abstract.example.net/host/example.com:80:http

And simply include in the protocol that the http://abstract.example.net/host/ prefix is a special case exception. But while such solutions (a URI version of a well-known location) might be acceptable for HTTP servers due to the complexity and cost of deploying changes to the infrastructure (such as a new HTTP method), they are less acceptable for URIs which can be easily extended with nothing more than a couple pages of spec...

It is almost as easy to register a new URI scheme or URN namespace as it is for me to buy and maintain a new domain name. But I think in this case, the reserved domain name is a lot more offensive to web architecture than a new URI scheme or some other URI-based solution.

I am also happy to make this as specific as needed for my super special use case and mint a new host: URI scheme.

EHL
Received on Friday, 26 June 2009 08:22:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:48:14 GMT