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

Remove two unnecessary debug calls

This commit is contained in:
Loïc Hoguin 2018-11-13 15:56:58 +01:00
parent 8d920f3db9
commit f9d689f9fd
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764

View file

@ -126,7 +126,6 @@ gzip_stream_reply_sendfile(Config) ->
{200, Headers, GzBody} = do_get("/stream_reply/sendfile", {200, Headers, GzBody} = do_get("/stream_reply/sendfile",
[{<<"accept-encoding">>, <<"gzip">>}], Config), [{<<"accept-encoding">>, <<"gzip">>}], Config),
{_, <<"gzip">>} = lists:keyfind(<<"content-encoding">>, 1, Headers), {_, <<"gzip">>} = lists:keyfind(<<"content-encoding">>, 1, Headers),
file:write_file("/tmp/test.gz", GzBody),
_ = zlib:gunzip(GzBody), _ = zlib:gunzip(GzBody),
ok. ok.
@ -135,7 +134,6 @@ gzip_stream_reply_sendfile_fin(Config) ->
{200, Headers, GzBody} = do_get("/stream_reply/sendfile_fin", {200, Headers, GzBody} = do_get("/stream_reply/sendfile_fin",
[{<<"accept-encoding">>, <<"gzip">>}], Config), [{<<"accept-encoding">>, <<"gzip">>}], Config),
{_, <<"gzip">>} = lists:keyfind(<<"content-encoding">>, 1, Headers), {_, <<"gzip">>} = lists:keyfind(<<"content-encoding">>, 1, Headers),
file:write_file("/tmp/test.gz", GzBody),
_ = zlib:gunzip(GzBody), _ = zlib:gunzip(GzBody),
ok. ok.