Not that it matters for the test, but still.
@@ -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.