aboutsummaryrefslogtreecommitdiffstats
path: root/examples/compress_response/src/toppage_handler.erl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/compress_response/src/toppage_handler.erl')
-rw-r--r--examples/compress_response/src/toppage_handler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/compress_response/src/toppage_handler.erl b/examples/compress_response/src/toppage_handler.erl
index 3558a9c..7c1569a 100644
--- a/examples/compress_response/src/toppage_handler.erl
+++ b/examples/compress_response/src/toppage_handler.erl
@@ -24,7 +24,7 @@ have established the ability to work at virtually identical tasks and obtained
considerable respect for their achievements. There are also cattle handlers
in many other parts of the world, particularly South America and Australia,
who perform work similar to the cowboy in their respective nations.\n">>,
- {ok, Req2} = cowboy_req:reply(200, [], BigBody, Req),
+ Req2 = cowboy_req:reply(200, [], BigBody, Req),
{ok, Req2, State}.
terminate(_Reason, _Req, _State) ->