aboutsummaryrefslogtreecommitdiffstats
path: root/test/chunked_handler.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-08-27 13:28:57 +0200
committerLoïc Hoguin <[email protected]>2012-08-27 13:28:57 +0200
commitd3dcaf109b225b1384fad5b17dbae9c4888c40ea (patch)
tree171cabef2c5aec776631d7a5d14ab687c563e38b /test/chunked_handler.erl
parent9e2622becb4d1a37d410f484a14ef32101e560ab (diff)
downloadcowboy-d3dcaf109b225b1384fad5b17dbae9c4888c40ea.tar.gz
cowboy-d3dcaf109b225b1384fad5b17dbae9c4888c40ea.tar.bz2
cowboy-d3dcaf109b225b1384fad5b17dbae9c4888c40ea.zip
Rename cowboy_http_req to cowboy_req
Diffstat (limited to 'test/chunked_handler.erl')
-rw-r--r--test/chunked_handler.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/chunked_handler.erl b/test/chunked_handler.erl
index d246d51..38305fd 100644
--- a/test/chunked_handler.erl
+++ b/test/chunked_handler.erl
@@ -8,9 +8,9 @@ init({_Transport, http}, Req, _Opts) ->
{ok, Req, undefined}.
handle(Req, State) ->
- {ok, Req2} = cowboy_http_req:chunked_reply(200, Req),
- cowboy_http_req:chunk("chunked_handler\r\n", Req2),
- cowboy_http_req:chunk("works fine!", Req2),
+ {ok, Req2} = cowboy_req:chunked_reply(200, Req),
+ cowboy_req:chunk("chunked_handler\r\n", Req2),
+ cowboy_req:chunk("works fine!", Req2),
{ok, Req2, State}.
terminate(_Req, _State) ->