diff options
Diffstat (limited to 'doc/src/guide/broken_clients.ezdoc')
-rw-r--r-- | doc/src/guide/broken_clients.ezdoc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/src/guide/broken_clients.ezdoc b/doc/src/guide/broken_clients.ezdoc index 26568a3..c508358 100644 --- a/doc/src/guide/broken_clients.ezdoc +++ b/doc/src/guide/broken_clients.ezdoc @@ -28,8 +28,7 @@ that will format the header names with the expected case. capitalize_hook(Status, Headers, Body, Req) -> Headers2 = [{cowboy_bstr:capitalize_token(N), V} || {N, V} <- Headers], - {ok, Req2} = cowboy_req:reply(Status, Headers2, Body, Req), - Req2. + cowboy_req:reply(Status, Headers2, Body, Req). ``` Note that SPDY clients do not have that particular issue |