aboutsummaryrefslogtreecommitdiffstats
path: root/test/chunked_handler.erl
diff options
context:
space:
mode:
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) ->