aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 feac388..29eac3b 100644
--- a/src/cowboy_req.erl
+++ b/src/cowboy_req.erl
@@ -676,7 +676,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,