lib/net/dav.rb in net_dav-0.4.0 vs lib/net/dav.rb in net_dav-0.4.1

- old
+ new

@@ -532,9 +532,10 @@ # update properties on resources or collections. # # Example: # dav.proppatch(uri.path,"<d:creationdate>#{new_date}</d:creationdate>") def proppatch(path, xml_snippet) + path = @uri.merge(path).path headers = {'Depth' => '1'} body = '<?xml version="1.0"?>' + '<d:propertyupdate xmlns:d="DAV:">' + '<d:set>' + '<d:prop>' +