Remove ETag header from DELETE requests
This commit is contained in:
parent
ba3f5db598
commit
96438bac8d
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user