W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2003

Using If and not failing

From: Lisa Dusseault <lisa@xythos.com>
Date: Thu, 23 Jan 2003 12:19:45 -0800
To: "Webdav WG" <w3c-dist-auth@w3c.org>
Message-ID: <000001c2c31c$c7866710$b701a8c0@xythoslap>

 
Did anybody point out that there's an interesting way for the client to
ensure that the If header never fails the request, by always providing a
"true" statement?
 
-          One or more tokens can be put in parentheses to form a group
or list
-          Multiple lists can be included and they are ORed together
 
So if the client wants to put a bunch of locktokens in the If header it
can put any number of them in there, all separated by virtual "OR"s:
 
DOSTUFF /resourceurl.html HTTP/1.1
If: (<locktoken1>) (<locktoken2>) (<locktoken3)
 
This request will succeed if the any of the clauses match.
Received on Thursday, 23 January 2003 15:19:55 GMT

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