W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > July to September 2005

Re: If-Match header question

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 23 Aug 2005 18:11:48 +0200
Message-ID: <430B4AC4.2090802@gmx.de>
To: Wilfredo Sánchez Vega <wsanchez@wsanchez.net>
CC: Webdav WG <w3c-dist-auth@w3c.org>

Wilfredo Sánchez Vega wrote:
>   RFC 2068 12.25 says that for the If-Match header, one should  respond 
> with 412 (precondition failed) if the header doesn't match up  with the 
> ETag of the resource.  OK, cool.

Actually, what's relevant is RFC2616 which obsoletes RFC2068.

>   However, it goes on to say that if, without the If-Match header,  the 
> request would have resulted in a 200-series response, that the  header 
> must be ignored.

..other than a 2xx or a 412 
(<http://greenbytes.de/tech/webdav/rfc2616.html#rfc.section.14.24.p.6>):

"If the request would, without the If-Match header field, result in 
anything other than a 2xx or 412 status, then the If-Match header MUST 
be ignored."

So this has indeed been fixed.

 > ...

Best regards, Julian
Received on Tuesday, 23 August 2005 16:13:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:44:09 GMT