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

Re: conditional methods and WebDAV

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 08 Aug 2007 22:13:24 +0200
Message-ID: <46BA23E4.3040300@gmx.de>
To: Arnaud Quillaud <Arnaud.Quillaud@Sun.COM>
CC: w3c-dist-auth@w3.org

Arnaud Quillaud wrote:
> Hello,
> 
> HTTP defines a few conditional headers (if-* headers) and so does WebDAV (if header). In both cases those headers can be used "to make *a* method conditional". There is no table listing which method can be made conditional.
> By reading between the lines one can guess that the if-* headers main purpose is for GET/PUT methods while if can be applied to pretty much any method but that is about it.

Yes.

> This brings up a few questions:
> * is the choice to make one method conditional or not left to server implementations ?

Not really.

> * how can a client discover whether a particular method honor one of the if* headers (e.g. DELETE with if-match, PROPPATCH with if-unmodified-since or PROPFIND with if-modified-since) ?
> * should the WebDAV if header be honored on all HTTP/WebDAV/*DAV methods ?

I'd say it should apply to all methods, but I'd be surprised if all 
servers get this right. See also current discussion over on the HTTP-WG 
mailing list about entity tags and methods such as PROPFIND/PROPPATCH.

Best regards, Julian
Received on Wednesday, 8 August 2007 20:13:51 GMT

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