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

Remove another test from the old http suite

This commit is contained in:
Loïc Hoguin 2017-11-19 22:17:57 +01:00
parent f6539a9a68
commit d7761b5259
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
3 changed files with 11 additions and 8 deletions

View file

@ -211,14 +211,6 @@ check_status(Config) ->
{Ret, URL}
end || {Status, URL} <- Tests].
chunked_response(Config) ->
ConnPid = gun_open(Config),
Ref = gun:get(ConnPid, "/chunked_response"),
{response, nofin, 200, Headers} = gun:await(ConnPid, Ref),
true = lists:keymember(<<"transfer-encoding">>, 1, Headers),
{ok, <<"chunked_handler\r\nworks fine!">>} = gun:await_body(ConnPid, Ref),
ok.
%% Check if sending requests whose size is around the MTU breaks something.
echo_body(Config) ->
MTU = ct_helper:get_loopback_mtu(),