0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Remove two broken absolute URI tests from old_http_SUITE

This commit is contained in:
Loïc Hoguin 2018-05-18 18:46:36 +02:00
parent 5d1cf36358
commit 338b1ca3f7
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764

View file

@ -127,13 +127,11 @@ check_raw_status(Config) ->
{200, ["GET / HTTP/1.0\r\nHost: localhost\r\n" {200, ["GET / HTTP/1.0\r\nHost: localhost\r\n"
"Set-Cookie: ", HugeCookie, "\r\n\r\n"]}, "Set-Cookie: ", HugeCookie, "\r\n\r\n"]},
{200, "\r\n\r\n\r\n\r\n\r\nGET / HTTP/1.1\r\nHost: localhost\r\n\r\n"}, {200, "\r\n\r\n\r\n\r\n\r\nGET / HTTP/1.1\r\nHost: localhost\r\n\r\n"},
{200, "GET http://proxy/ HTTP/1.1\r\nHost: localhost\r\n\r\n"},
{400, "\n"}, {400, "\n"},
{400, "Garbage\r\n\r\n"}, {400, "Garbage\r\n\r\n"},
{400, "\r\n\r\n\r\n\r\n\r\n\r\n"}, {400, "\r\n\r\n\r\n\r\n\r\n\r\n"},
{400, "GET HTTP/1.1\r\nHost: localhost\r\n\r\n"}, {400, "GET HTTP/1.1\r\nHost: localhost\r\n\r\n"},
{400, "GET / HTTP/1.1\r\nHost: ninenines.eu\r\n\r\n"}, {400, "GET / HTTP/1.1\r\nHost: ninenines.eu\r\n\r\n"},
{400, "GET http://proxy/ HTTP/1.1\r\n\r\n"},
{400, "GET / HTTP/1.1\r\nHost: localhost:bad_port\r\n\r\n"}, {400, "GET / HTTP/1.1\r\nHost: localhost:bad_port\r\n\r\n"},
{closed, Huge} {closed, Huge}
], ],