W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2007

If-match clarification

From: Cyrus Daboo <cyrus@daboo.name>
Date: Wed, 20 Jun 2007 11:59:05 -0400
To: ietf-http-wg@w3.org
Message-ID: <9533480C9FA1AD6B62FC4158@caldav.corp.apple.com>

Hi,
The description of If-match describes two possible situations, but those 
are not all that could occur:

1) If all etags in If-Match match, or If-Match * is used and the entity 
exists then normal processing occurs.

2) If any etags in If-Match do not match, or If-Match * is used and the 
entity does not exist, then 412 must be returned.

But what about the case of an etag provided in If-Match against a resource 
that no longer exists? Should the server return 404 or 412?

-- 
Cyrus Daboo
Received on Wednesday, 20 June 2007 15:59:26 GMT

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