From 31a4f31569ba3355da68b4e4a7854d3fe8a2f8bc Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Fri, 30 Dec 2011 12:15:09 +0100 Subject: [PATCH] Rack 1.4 returns Content-Length: 0 for HEAD requests --- test/static_test.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/test/static_test.rb b/test/static_test.rb index 048c050e..3f5b671f 100644 --- a/test/static_test.rb +++ b/test/static_test.rb @@ -36,7 +36,6 @@ class StaticTest < Test::Unit::TestCase head "/#{File.basename(__FILE__)}" assert ok? assert_equal '', body - assert_equal File.size(__FILE__).to_s, response['Content-Length'] assert response.headers.include?('Last-Modified') end