ldp-ISSUE-35 (fresh-URI): POSTing to a container MUST yield a fresh URI [Linked Data Platform core]

ldp-ISSUE-35 (fresh-URI): POSTing to a container MUST yield a fresh URI [Linked Data Platform core]

http://www.w3.org/2012/ldp/track/issues/35

Raised by: Richard Cyganiak
On product: Linked Data Platform core

Section 5.4 talks about the new URIs that are generated when POSTing to a container:

[[
LDPC servers must respond with status code 201 (Created) and the Location header set to the new resource’s URL.

LDPC servers should assign the subject URI for the resource to be created using server application specific rules.
]]

This says that the resource is new, and therefore sort of implies that the URI has to be new too. But the sentence about “server-specific rules” seems to give lots of wiggle-room However, I think there should be a much stronger statement, along these lines:

[[
Once a URI has been assigned to a new resource (as indicated by the 201 response code and Location: header), then the same URI MUST NOT be assigned again in any subsequent request.
]]

This is to avoid a situation where a resource is assigned a “recycled” URI that was previously assigned to a different resource and then deleted or moved or whatever, as discussed by TimBL and others in the ISSUE-24 discussion at the F2F.

Received on Tuesday, 6 November 2012 09:23:43 UTC