Send ETag header with 304 response as well
This commit is contained in:
@@ -80,6 +80,7 @@ describe "Directories" do
|
||||
|
||||
last_response.status.must_equal 304
|
||||
last_response.body.must_be_empty
|
||||
last_response.headers["ETag"].must_equal @etag
|
||||
end
|
||||
|
||||
it "responds normally when it does not match the current ETag" do
|
||||
|
||||
@@ -89,6 +89,7 @@ describe "App with Riak backend" do
|
||||
|
||||
last_response.status.must_equal 304
|
||||
last_response.body.must_be_empty
|
||||
last_response.headers["ETag"].must_equal @etag
|
||||
end
|
||||
|
||||
it "responds normally when it does not match the current ETag" do
|
||||
|
||||
Reference in New Issue
Block a user