Just respond with an empty body on PUT requests

This commit is contained in:
2012-10-22 12:59:07 +02:00
parent 544400b138
commit 95adfff6ab
2 changed files with 3 additions and 0 deletions

View File

@@ -78,6 +78,8 @@ module RemoteStorage
object.reload
timestamp = object.last_modified.to_i
update_all_directory_objects(user, directory, timestamp)
halt 200
rescue ::Riak::HTTPFailedRequest
halt 422
end