mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Move tests from old http suite to rfc7230 suite
This commit is contained in:
parent
8be803cb07
commit
f6539a9a68
3 changed files with 32 additions and 19 deletions
|
@ -105,7 +105,6 @@ init_dispatch(Config) ->
|
|||
[{body, <<"A flameless dance does not equal a cycle">>}]},
|
||||
{"/handler_errors", http_errors, []},
|
||||
{"/echo/body", http_echo_body, []},
|
||||
{"/crash/content-length", input_crash_h, content_length},
|
||||
{"/param_all", rest_param_all, []},
|
||||
{"/bad_accept", rest_simple_resource, []},
|
||||
{"/bad_content_type", rest_patch_resource, []},
|
||||
|
@ -181,7 +180,6 @@ The document has moved
|
|||
{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, ["POST /crash/content-length HTTP/1.1\r\nHost: localhost\r\nContent-Length: 5000,5000\r\n\r\n", Huge]},
|
||||
{400, ResponsePacket},
|
||||
{408, "GET / HTTP/1.1\r\n"},
|
||||
{408, "GET / HTTP/1.1\r\nHost: localhost"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue