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

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 UTC