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

BIND: precondition DAV:locked-overwrite-allowed

From: Nevermann, Dr., Peter <Peter.Nevermann@softwareag.com>
Date: Sun, 3 Aug 2003 17:24:09 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E6210605C47FCB@daemsg02.software-ag.de>
To: "'w3c-dist-auth@w3.org'" <w3c-dist-auth@w3.org>
Some time ago, I asked what status code should a BIND request return, if the
precondition
DAV:locked-update-allowed is violated. Apparently, there has been consensus
in that is should be:

423 "Locked" with <D:error><D:locked-update-allowed/></error> in the
response-body

What if DAV:locked-overwrite-allowed is violated? It could be:

1) 423 "Locked" with <D:error><D:locked-overwrite-allowed/></error> in the
response-body

2) 409 "Conflict" with <D:error><D:locked-overwrite-allowed/></error> in the
response-body

Isn't 2) more reasonable in this case, because this time it is not the
resource identified by the request URI which is locked?

Thanks,
Peter 
Received on Sunday, 3 August 2003 11:24:14 GMT

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