def proppatch(path, xml_snippet)
      path = @uri.merge(path).path
      headers = {'Depth' => '1'}
      body =  '<?xml version="1.0"?>' +
      '<d:propertyupdate xmlns:d="DAV:">' +
         xml_snippet +
      '</d:propertyupdate>'
      res = @handler.request(:proppatch, path, body, headers.merge(@headers))
      Nokogiri::XML.parse(res.body)
    end
def proppatch(path, xml_snippet)
      path = @uri.merge(path).path
      headers = {'Depth' => '1'}
      body =  '<?xml version="1.0"?>' +
      '<d:propertyupdate xmlns:d="DAV:">' +
         xml_snippet +
      '</d:propertyupdate>'
      res = @handler.request(:proppatch, path, body, headers.merge(@headers))
      Nokogiri::XML.parse(res.body)
    end
Do a proppatch request to the server to
 update properties on resources or collections.

 Example:
   dav.proppatch(uri.path,
     "<d:set><d:prop>" +
     "<d:creationdate>#{new_date}</d:creationdate>" +
     "</d:set></d:prop>" +
     )