diff options
Diffstat (limited to 'test/old_http_SUITE.erl')
-rw-r--r-- | test/old_http_SUITE.erl | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/test/old_http_SUITE.erl b/test/old_http_SUITE.erl index e74f648..3482bff 100644 --- a/test/old_http_SUITE.erl +++ b/test/old_http_SUITE.erl @@ -209,19 +209,15 @@ The document has moved {400, "\n"}, {400, "Garbage\r\n\r\n"}, {400, "\r\n\r\n\r\n\r\n\r\n\r\n"}, - {400, " / 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://proxy/ HTTP/1.1\r\n\r\n"}, {400, "GET / HTTP/1.1\r\nHost: localhost:bad_port\r\n\r\n"}, {400, ResponsePacket}, - {408, "GET / HTTP/1.1\r\n"}, {408, "GET / HTTP/1.1\r\nHost: localhost"}, {408, "GET / HTTP/1.1\r\nHost: localhost\r\n"}, {408, "GET / HTTP/1.1\r\nHost: localhost\r\n\r"}, {closed, Huge}, - {431, "GET / HTTP/1.1\r\n" ++ Huge}, - {505, "GET / HTTP/1.2\r\nHost: localhost\r\n\r\n"}, {closed, ""}, {closed, "\r\n"}, {closed, "\r\n\r\n"}, @@ -606,22 +602,6 @@ path_allow_colon(_Config) -> cowboy_router:compile([{'_', [{"/foo/bar:blah", http_handler, []}]}]), ok. -set_resp_body(Config) -> - ConnPid = gun_open(Config), - Ref = gun:get(ConnPid, "/set_resp/body"), - {response, nofin, 200, _} = gun:await(ConnPid, Ref), - {ok, <<"A flameless dance does not equal a cycle">>} - = gun:await_body(ConnPid, Ref), - ok. - -set_resp_header(Config) -> - ConnPid = gun_open(Config), - Ref = gun:get(ConnPid, "/set_resp/header"), - {response, nofin, 200, Headers} = gun:await(ConnPid, Ref), - {_, <<"Accept">>} = lists:keyfind(<<"vary">>, 1, Headers), - {_, _} = lists:keyfind(<<"set-cookie">>, 1, Headers), - ok. - set_resp_overwrite(Config) -> ConnPid = gun_open(Config), Ref = gun:get(ConnPid, "/set_resp/overwrite"), |