mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Merge branch 'patch-2' of https://github.com/egobrain/cowboy
This commit is contained in:
commit
21632944bb
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue