Re: Bug 143 (lock refresh), was: WGLC of draft-ietf-webdav-rfc2518bis-14.txt

Lisa,

thanks for the changes in draft 15. I still think that the precondition 
now doesn't fit anymore (it's not the Lock-Token header that was 
missing). Furthermore, the example is now inconsistent with the spec. 
Suggested changes:

Section 9.10.6., para. 6:
OLD:

     412 (Precondition Failed), with 'lock-token-matches-request-uri'
     precondition code - The LOCK request was made with a If header,
     indicating that the client wishes to refresh the given lock.
     However, the Request-URI did not fall within the scope of the lock
     identified by the token.  The lock may have a scope that does not
     include the Request-URI, or the lock could have disappeared, or the
     token may be invalid.

NEW:

     412 (Precondition Failed), with 'lock-token-submitted' precondition
     code - The LOCK request was made with an If header, indicating that
     the client wishes to refresh the given lock.  However, the Request-
     URI did not fall within the scope of the lock identified by the
     token.  The lock may have a scope that does not include the Request-
     URI, or the lock could have disappeared, or the token may be invalid.


Section 9.10.8., para. 2:
OLD:

       LOCK /workspace/webdav/proposal.doc HTTP/1.1
       Host: example.com
       Timeout: Infinite, Second-4100000000
       Lock-Token: <urn:uuid:e71d4fae-5dec-22d6-fea5-00a0c91e6be4>
       Authorization: Digest username="ejw",
         realm="ejw@example.com", nonce="...",
         uri="/workspace/webdav/proposal.doc",
         response="...", opaque="..."

NEW:

       LOCK /workspace/webdav/proposal.doc HTTP/1.1
       Host: example.com
       Timeout: Infinite, Second-4100000000
       If: (<urn:uuid:e71d4fae-5dec-22d6-fea5-00a0c91e6be4>)

       Authorization: Digest username="ejw",
         realm="ejw@example.com", nonce="...",
         uri="/workspace/webdav/proposal.doc",
         response="...", opaque="..."

Received on Sunday, 21 May 2006 20:19:01 UTC