Set 'Expires' header to 0 for all responses

This commit is contained in:
Garret Alfert
2013-12-08 22:59:03 +01:00
parent a559f55a6d
commit 5ddde402a8
3 changed files with 13 additions and 0 deletions

View File

@@ -37,6 +37,11 @@ describe "App with Riak backend" do
last_response.status.must_equal 200
last_response.headers["ETag"].wont_be_nil
end
it "has caching headers set" do
last_response.status.must_equal 200
last_response.headers["Expires"].must_equal 0
end
end
describe "GET data with custom content type" do