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:
parent
dc3fd01fb4
commit
bbe42d9bc5
1 changed files with 3 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue