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