ISSUE-49: Canonical URL - how to communicate its value to clients

Canonical-URI

Canonical URL - how to communicate its value to clients

State:
CLOSED
Product:
Linked Data Platform Spec
Raised by:
John Arwe
Opened on:
2013-02-13
Description:
https://dvcs.w3.org/hg/ldpwg/raw-file/default/ldp.html#general clause 4.1.4 states: 4.1.4 Clients can access a LDPR using multiple URLs, for example when DNS aliasing is used. A LDPR server must respond to each of those requests using a single consistent URL, a canonical URL, for the LDPR which may be found in the response's Location header and potentially also in the representation of the LDPR. Clients should use the canonical URL as an LDPR's identity; for example, when determining if two URLs refer to the same resource clients need to compare the canonical URLs not the URLs used to access the resources.

I want to verify that the WG believes the Location header is the appropriate vehicle for communicating the canonical URI for a resource.

[2] Location is only clearly defined in 2616 for 201 and 3xx. [3] opens the aperture a bit, but still is only "really clear" about the same cases; the status pages for httpbis imply it's still open for comments if we want to tilt that windmill. [3] is a lot better on relative URI values and URIs with fragments. [3] punts to the status code definition to tell one which resource the Location refers to, so (for things like 200-OK) its use is currently undefined as I read things.

[4] Content-Location says it is representation metadata (this phrasing is clearer in bis, but bis is supposed to be compatible/clarifying 2616 not changing it). 2616 says it is undefined for PUT/POST *requests* (nothing special about put/post responses, just all-responses statements), but bis explicitly talks about its interpretation in those contexts. Both have cache interactions.

The original use of C-L appears to have been cases where you GET a resource subject to conneg, the server offers several different representations, and each representation is ALSO a URI-addressable resource. The original use of L appears to have been only Create and redirects.

Neither is a perfect match. The first line of [4] is probably what led me to think C-L would be better than L for this purpose (it's a perfect fit, reading just that), but with [5]'s clarification it seems like a "definitely not right" fit. L seems underspecified but we can look at it as we're filling in that blank.

Looking through the link relations registry, I see "canonical" being defined in RFC 6596 [6] (Info'l though, not Standards track, but I'm unclear how much that matters in a case like this - it is in The link relation registry)

[2] http://tools.ietf.org/html/rfc2616#section-14.30 2616-Location
[3] http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-21#section-8.1.2 bis-Location
[4] http://tools.ietf.org/html/rfc2616#section-14.14 2616-Content-Location
[5] http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-21#section-3.1.4.2 bis-Content-Location
[6] http://tools.ietf.org/html/rfc6596
Related Actions Items:
No related actions
Related emails:
  1. LDP Rec (from eric@w3.org on 2015-02-20)
  2. Re: ldp-ISSUE-59 (recursive-delete): Reconsider usage of Aggregate/Composite construct to get predictable container delete behavior [Linked Data Platform core] (from ashok.malhotra@oracle.com on 2013-04-05)
  3. Re: ldp-ISSUE-49 (Canonical-URI): Canonical URL - how to communicate its value to clients (from Erik.Wilde@emc.com on 2013-03-13)
  4. Re: ldp-ISSUE-49 (Canonical-URI): Canonical URL - how to communicate its value to clients (from Erik.Wilde@emc.com on 2013-03-13)
  5. Re: ldp-ISSUE-49 (Canonical-URI): Canonical URL - how to communicate its value to clients (from ylafon@w3.org on 2013-03-13)
  6. Re: ldp-ISSUE-49 (Canonical-URI): Canonical URL - how to communicate its value to clients (from johnarwe@us.ibm.com on 2013-03-13)
  7. Re: ldp-ISSUE-49 (Canonical-URI): Canonical URL - how to communicate its value to clients (from ylafon@w3.org on 2013-03-11)
  8. Re: ldp-ISSUE-49 (Canonical-URI): Canonical URL - how to communicate its value to clients (from Erik.Wilde@emc.com on 2013-03-11)
  9. ldp-ISSUE-49 (Canonical-URI): Canonical URL - how to communicate its value to clients (from sysbot+tracker@w3.org on 2013-02-13)

Related notes:

Resolution: Close ISSUE-49 saying that LDP will not further restrict HTTP in this area. Remove section 4.1.4 from the spec and consider giving some guidance in the deployment guide.
See http://www.w3.org/2012/ldp/meeting/2013-03-15#resolution_10

Arnaud Le Hors, 16 Mar 2013, 03:52:42

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 49.html,v 1.1 2015/08/17 04:43:09 denis Exp $