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

RE: conditional methods and WebDAV

From: Kevin Wiggen <kwiggen@xythos.com>
Date: Wed, 8 Aug 2007 09:55:45 -0700
Message-ID: <03E7D3E231BB7B4A915A6581D4296CC604954F12@NSNOVPS00411.nacio.xythos.com>
To: "Arnaud Quillaud" <Arnaud.Quillaud@Sun.COM>, <w3c-dist-auth@w3.org>

It is my understanding that to be a HTTP compliant server the server
MUST honor the if header on ALL methods (including Webdav).

The open issue IMHO is, does the IF header relate to just the URI, or
does it relate to every resource the method touches (DEPTH infinity or a
DELETE can touch LOTS of objects for instance).  I do not remember if
this was ever decided (its been a while) but I would bet this could
behave differently depending on the server.


-----Original Message-----
From: w3c-dist-auth-request@w3.org [mailto:w3c-dist-auth-request@w3.org]
On Behalf Of Arnaud Quillaud
Sent: Wednesday, August 08, 2007 9:30 AM
To: w3c-dist-auth@w3.org
Subject: conditional methods and WebDAV


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
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.

This brings up a few questions:
* is the choice to make one method conditional or not left to server
implementations ?
* 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


Arnaud Q
Received on Wednesday, 8 August 2007 16:56:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:42 UTC