W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2009

Re: Last Call: draft-nottingham-http-link-header (Web Linking) to Proposed Standard

From: Nicolas Alvarez <nicolas.alvarez@gmail.com>
Date: Mon, 31 Aug 2009 15:46:14 -0300
To: ietf-http-wg@w3.org
Message-ID: <h7h5pm$iac$1@ger.gmane.org>
Noah Slater wrote:
> After thinking about it for a while, I decided that there was no
> sufficient reason to use more than a single "up" value. My reasoning is
> that URIs already provide a mechanism for UAs to determine the spacial
> position of the current resource in relation to the one specified via a
> link element.
> 
> Resource URI:
> 
>   http://example.org/dir-a/dir-b/doc-b
> 
> Links elements:
> 
>   <link rel="up" href="/">
> 
>   <link rel="up" href="/dir-a/">
> 
>   <link rel="up" href="/dir-a/dir-b/">
> 
> The hierarchical position of each link can be found by parsing the URI.

URIs are opaque, you can't parse them and know what the depth is.
Received on Monday, 31 August 2009 18:47:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:09 GMT