Skip to content

Commit

Permalink
Reference issue causing failing empty header test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonrayhamilton committed Apr 1, 2017
1 parent 7aa913d commit 9d4cad4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/proxy_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ def test_augments_proxy_headers
end

def test_empty_header
skip "ruby won't send an empty http header value (Rack or Puma or ???)"
# We can stop skipping this test once this fix is released:
# https://github.com/puma/puma/pull/1261
skip "Puma won't send an empty http header value"
response = Net::HTTP.get_response(URI("http://empty-header.dev:20557/"))
assert_equal "", response["Access-Control-Expose-Headers"]
assert_equal "an empty header is tolerated", response.body
Expand Down

0 comments on commit 9d4cad4

Please sign in to comment.