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:
parent
2a9ecc9d63
commit
ca48a5656c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue