1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Fix test for change in how HTTP/1.0 is handled

This commit is contained in:
Evan Phoenix 2011-10-03 14:47:19 -07:00
parent 2a9ecc9d63
commit ca48a5656c

View file

@ -25,7 +25,7 @@ class TestPumaUnixSocket < Test::Unit::TestCase
sock << "GET / HTTP/1.0\r\nHost: blah.com\r\n\r\n"
expected = "HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\nWorks"
expected = "HTTP/1.0 200 OK\r\nConnection: close\r\nContent-Length: 5\r\n\r\nWorks"
assert_equal expected, sock.read(expected.size)