ldp-ISSUE-74 (conditional requests required): How does a client know if conditional requests are required [Linked Data Platform core]

ldp-ISSUE-74 (conditional requests required): How does a client know if conditional requests are required [Linked Data Platform core]

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

Raised by: John Arwe
On product: Linked Data Platform core

Split off from Issue-32.

Are conditional requests Required for updates? (specification has a SHOULD)

RFC 2616 tells a client how to know (after the fact) if a request was rejected because a pre-condition failed, but not in advance how to know if the server will fail every unconditional request because it implements section 4.4.2 " LDPR servers SHOULD require the HTTP If-Match header and HTTP ETags to detect collisions." with single-minded zeal.

RFC 6585 addresses exactly this case, so we should use the status code it defines (428 Precondition Required).

Proposal: update 4.4.2 to normatively reference RFC 6585

http://tools.ietf.org/html/rfc6585#section-3

Received on Thursday, 23 May 2013 21:32:01 UTC