aboutsummaryrefslogtreecommitdiffstats
path: root/examples/echo_get/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/echo_get/src')
-rw-r--r--examples/echo_get/src/toppage_handler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echo_get/src/toppage_handler.erl b/examples/echo_get/src/toppage_handler.erl
index 6d914ec..86433cb 100644
--- a/examples/echo_get/src/toppage_handler.erl
+++ b/examples/echo_get/src/toppage_handler.erl
@@ -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).