diff options
Diffstat (limited to 'doc/src/guide/http_req_life.ezdoc')
-rw-r--r-- | doc/src/guide/http_req_life.ezdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/guide/http_req_life.ezdoc b/doc/src/guide/http_req_life.ezdoc index 5fd8486..ffe5dfa 100644 --- a/doc/src/guide/http_req_life.ezdoc +++ b/doc/src/guide/http_req_life.ezdoc @@ -80,7 +80,7 @@ as the reply is sent. This snippet will force Cowboy to close the connection. ``` erlang -{ok, Req2} = cowboy_req:reply(200, [ +Req2 = cowboy_req:reply(200, [ {<<"connection">>, <<"close">>}, ], <<"Closing the socket in 3.. 2.. 1..">>, Req). ``` |