Browse files

Rack 1.4 returns Content-Length: 0 for HEAD requests

  • Loading branch information...
1 parent 8840691 commit 31a4f31569ba3355da68b4e4a7854d3fe8a2f8bc @rkh rkh committed Dec 30, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 test/static_test.rb
View
1 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

0 comments on commit 31a4f31

Please sign in to comment.