title: OSX 10.9 - Mavericks webdav client lock issue
body: <p>I have a webdav server implementation that works fine with windows and OSX 10.8 versions. Since OS X 10.9 upgrade, many webdav actions including dragging a file onto a webdav mount using Finder and editing files using MS office applications (Microsoft Word, Office, Powerpoint) have stopped working.</p>
  
  <p>Looking at client &lt;-> webdav server traffic, it appears that after acquiring LOCK on a file, client is not supplying lock token in subsequent requests to server, resulting in 423 responses on subsequent operations. According to webdav spec, client needs to supply file lock-token in subsequent commands to server.</p>
  
  <p>I confirmed that this is not a problem with 10.8 or earlier versions.</p>
  
  <p>File drag and drop to Finder webdav mount show following sequence of request and responses:</p>
  
  <pre><code>PROPFIND /webdav/Private/a123/test.pptx 404
  PROPFIND /webdav/Private/a123/test.pptx
  PUT /egnyte-internal/webdav/Private/a123/test.pptx 201
  PROPFIND /webdav/Private/a123/._test.pptx 404
  LOCK /webdav/Private/a123/test.pptx 200
  UNLOCK /webdav/Private/a123/test.pptx 204
  PROPFIND /webdav/Private/a123/._test.pptx 404
  LOCK /webdav/Private/a123/test.pptx 200
  UNLOCK /webdav/Private/a123/test.pptx 423
  </code></pre>
  
  <p>Looking at wireshark output for this sequence, second unlock request doesn't include the Lock-Token header. At this point, system.log shows error "unexpected statusCode 423" and mount disconnects.</p>
  
  <p>Here is the UNLOCK request headers, missing Lock-Token:</p>
  
  <pre><code>UNLOCK /webdav/Private/a123/test.pptx HTTP/1.1
  Host: localhost:10001
  Accept: */*
  Authorization: Basic YWRtaTeyhsbaksVusjhs9tZTEyMw==
  Content-Length: 0
  Connection: keep-alive
  User-Agent: WebDAVFS/3.0.0 (03008000) Darwin/13.0.0 (x86_64)
  \r\n
  </code></pre>
  
  <p>Has anyone else seen this problem and have a solution ?</p>
  
  <p>Thanks</p>