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

Fix value for header content-encoding in a test

Not that it matters for the test, but still.
This commit is contained in:
Loïc Hoguin 2013-09-09 16:28:37 +02:00
parent dc3fd01fb4
commit bbe42d9bc5

View file

@ -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.