W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > April to June 2004


From: Julian Reschke <julian.reschke@gmx.de>
Date: Sat, 19 Jun 2004 15:38:53 +0200
Message-ID: <40D441ED.6000806@gmx.de>
To: Webdav WG <w3c-dist-auth@w3c.org>

Full text:

7.2.2  DAV:need-lock-token precondition

    If a request would modify the content for a locked resource, a dead
    property of a locked resource, a live property that is defined to be
    lockable for a locked resource, or an internal member URI of a locked
    collection, the request MUST fail unless the lock-token for that lock
    is submitted in the request.  An internal member URI of a collection
    is considered to be modified if it is added, removed, or identifies a
    different resource.  [[anchor28: Copied from GULP.  --reschke]]

       <!ELEMENT need-lock-token (href)* >

    Servers SHOULD insert DAV:href elements for the URLs of each root of
    a lock for which a lock token was needed, unless that URL identies
    the same resource to that the request was sent.  Example

    In the example below, a client unaware of a "Depth: infinity" lock on
    the parent collection "/workspace/webdav/" attempts to modify the
    collection member "/workspace/webdav/proposal.doc".


       PUT /workspace/webdav/proposal.doc HTTP/1.1
       Host: example.com


       HTTP/1.1 423 Locked
       Content-Type: text/xml; charset="utf-8"
       Content-Length: xxxx

       <?xml version="1.0" encoding="utf-8" ?>
       <D:error xmlns:D="DAV:">

<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
Received on Saturday, 19 June 2004 09:39:27 UTC

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