aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_handler_stream_body.erl
AgeCommit message (Collapse)Author
2013-01-05Add cowboy_req:set_resp_body_fun/2Loïc Hoguin
This allows streaming a body without knowing the length in advance. Also allows {stream, StreamFun} response body in the REST code.
2013-01-05Change the response body streaming fun interfaceLoïc Hoguin
Before we were required to get the socket and transport ourselves, now they're passed to the function.
2012-09-17Improve consistency of return types for cowboy_req APILoïc Hoguin
The signature of parse_header, body_qs, multipart_data and the set_resp_* functions has changed. See the cowboy_req module edoc for more details.
2012-08-27Rename cowboy_http_req to cowboy_reqLoïc Hoguin
2011-12-28Add cowboy_http_req:set_resp_body_fun/3.Magnus Klaar