chrisroberts / dav4rack

WebDAV for Rack
http://chrisroberts.github.com/dav4rack
Other
114 stars 52 forks source link

cadaver complain about missing Lock-Token header field #30

Open xykox opened 12 years ago

xykox commented 12 years ago

with DAV4Rack 0.2.10 in a Rails 3.2 app

dav:/webad> lock foo.txt

in lib/dav4rack/controller.rb (ligne 239), add :

response['Lock-Token'] = locktoken 

and it work's but don't konw if it's valid or not.

chrisroberts commented 12 years ago

Thanks for this report. I'm integrating the litmus test and will apply this update once I have reached the lock based tests.