aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_req.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_req.erl')
-rw-r--r--src/cowboy_req.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl
index a197110..46a2fc7 100644
--- a/src/cowboy_req.erl
+++ b/src/cowboy_req.erl
@@ -720,7 +720,8 @@ reply(Status, Headers, Req=#http_req{resp_body=Body}) ->
reply(Status, Headers, Body, Req).
-spec reply(cowboy:http_status(), cowboy:http_headers(),
- iodata() | {non_neg_integer() | resp_body_fun()}, Req)
+ iodata() | resp_body_fun() | {non_neg_integer(), resp_body_fun()}
+ | {chunked, resp_chunked_fun()}, Req)
-> Req when Req::req().
reply(Status, Headers, Body, Req=#http_req{
socket=Socket, transport=Transport,