... | ... | @@ -38,7 +38,7 @@ res = webdav.move("/file.html", "/newdir/copy.html") |
|
|
lock_res = webdav.lock("/file.html")
|
|
|
unlock_res = webdav.unlock("/file.html", lock_res.headers["lock-token"])
|
|
|
# or, using the block form:
|
|
|
webdav.lock("/file.html") do |lock_res|
|
|
|
webdav.lock("/file.html") do |_lock_res|
|
|
|
# do something
|
|
|
end # unlocked
|
|
|
# PROPFIND
|
... | ... | |