Remove ETag header from DELETE requests

This commit is contained in:
Garret Alfert 2013-12-08 22:42:01 +01:00
parent ba3f5db598
commit 96438bac8d
2 changed files with 0 additions and 5 deletions

View File

@ -144,7 +144,6 @@ module RemoteStorage
timestamp = (Time.now.to_f * 1000).to_i
delete_or_update_directory_objects(user, directory, timestamp)
server.headers["ETag"] = etag
server.halt riak_response[:code]
rescue ::Riak::HTTPFailedRequest
server.halt 404

View File

@ -539,10 +539,6 @@ describe "App with Riak backend" do
log_entry.data["category"].must_equal "documents"
log_entry.indexes["user_id_bin"].must_include "jimmy"
end
it "sets the ETag header" do
last_response.headers["ETag"].wont_be_nil
end
end
context "non-existing object" do