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


       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 -- -- tel:+492512807760

Received on Saturday, 19 June 2004 09:39:27 UTC