diff options
-rw-r--r-- | test/http_SUITE_data/http_body_qs.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/http_SUITE_data/http_body_qs.erl b/test/http_SUITE_data/http_body_qs.erl index 2280981..f1b974d 100644 --- a/test/http_SUITE_data/http_body_qs.erl +++ b/test/http_SUITE_data/http_body_qs.erl @@ -32,8 +32,9 @@ echo(badlength, Req) -> echo(undefined, Req) -> cowboy_req:reply(400, [], <<"Missing echo parameter.">>, Req); echo(Echo, Req) -> - cowboy_req:reply(200, - [{<<"content-encoding">>, <<"utf-8">>}], Echo, Req). + cowboy_req:reply(200, [ + {<<"content-type">>, <<"text/plain; charset=utf-8">>} + ], Echo, Req). terminate(_, _, _) -> ok. |