[Bug 132] DEPTH_LOCK_AND_IF

http://ietf.cse.ucsc.edu:8080/bugzilla/show_bug.cgi?id=132

julian.reschke@greenbytes.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|julian.reschke@greenbytes.de|elias@cse.ucsc.edu
            Version|-07                         |-10



------- Additional Comments From julian.reschke@greenbytes.de  2006-01-14 10:48 -------
Proposed text (see also
<http://greenbytes.de/tech/webdav/draft-reschke-webdav-rfc2518bis-latest.html#rfc.issue.bz132>):

Section 7., para. 72:
OLD:

 7.7.1  Example - Write Lock

NEW:

 7.7.1  Example - Write Lock and COPY


Section 7., para. 78:
OLD:

 7.8  Write Locks and COPY/MOVE

NEW:

 7.7.2  Example - Deleting a member of a locked collection
 
    Consider a collection /locked exclusively write-locked with Depth:
    Infinity, and an attempt to delete an internal member /locked/member:
 
    >>Request
 
      DELETE /locked/member HTTP/1.1
      Host: example.com
 
    This request would fail because the lock token for the collection
    lock was not submitted with the request:
 
    >>Response
 
      HTTP/1.1 423 Locked
      Content-Type: application/xml; charset="utf-8"
      Content-Length: xxxx
 
      <?xml version="1.0" encoding="utf-8" ?>
      <D:error xmlns:D="DAV:">
        <D:lock-token-present>
          <D:href>/locked/</D:href>
        </D:lock-token-present>
      </D:error>
 
    Thus the client would need to submit the lock token with the request
    to make it succeed.  To do that, various forms of the If header (see
    Section 9.4) could be used:
 
    "No-Tag-List" format (see Section 9.4.1)
    If: (<urn:uuid:150852e2-3847-42d5-8cbe-0f4f296f26cf>)
 
    "Tagged-List" format, for http://example.com/locked/ (see
    Section 9.4.2)
    If: <http://example.com/locked/>
         (<urn:uuid:150852e2-3847-42d5-8cbe-0f4f296f26cf>)
 
    "Tagged-List" format, for http://example.com/locked/member (see
    Section 9.4.2)
    If: <http://example.com/locked/member>
         (<urn:uuid:150852e2-3847-42d5-8cbe-0f4f296f26cf>)
 
    Note that for the purpose of submitting the lock token the actual
    form doesn't matter; what's relevant is that the lock token appears
    in the If header, and that the If header itself evaluates to true.
 
 7.8  Write Locks and COPY/MOVE





------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

Received on Saturday, 14 January 2006 18:48:44 UTC