mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Make a few more missing headers lowercase
This commit is contained in:
parent
8bc6bde62f
commit
db6b1596ae
4 changed files with 15 additions and 15 deletions
|
@ -20,7 +20,7 @@ echo(<<"GET">>, undefined, Req) ->
|
|||
cowboy_req:reply(400, [], <<"Missing echo parameter.">>, Req);
|
||||
echo(<<"GET">>, Echo, Req) ->
|
||||
cowboy_req:reply(200,
|
||||
[{<<"Content-Encoding">>, <<"utf-8">>}], Echo, Req);
|
||||
[{<<"content-encoding">>, <<"utf-8">>}], Echo, Req);
|
||||
echo(_, _, Req) ->
|
||||
%% Method not allowed.
|
||||
cowboy_req:reply(405, Req).
|
||||
|
|
|
@ -30,7 +30,7 @@ echo(undefined, Req) ->
|
|||
cowboy_req:reply(400, [], <<"Missing echo parameter.">>, Req);
|
||||
echo(Echo, Req) ->
|
||||
cowboy_req:reply(200,
|
||||
[{<<"Content-Encoding">>, <<"utf-8">>}], Echo, Req).
|
||||
[{<<"content-encoding">>, <<"utf-8">>}], Echo, Req).
|
||||
|
||||
terminate(_Req, _State) ->
|
||||
ok.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue