Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rack 1.4 returns Content-Length: 0 for HEAD requests

  • Loading branch information...
commit c191a2644460805dae0d3b6c6638c0f2155f2e80 1 parent b7fb015
@rkh rkh authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.