0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 12:40:25 +00:00

Do not require inets for running tests anymore

This commit is contained in:
Loïc Hoguin 2013-01-22 14:22:28 +01:00
parent 647e95aed1
commit 3b8a1365d1
3 changed files with 11 additions and 7 deletions

View file

@ -9,7 +9,9 @@ init({_Transport, http}, Req, _Opts) ->
handle(Req, State) ->
{ok, Req2} = cowboy_req:chunked_reply(200, Req),
timer:sleep(100),
cowboy_req:chunk("chunked_handler\r\n", Req2),
timer:sleep(100),
cowboy_req:chunk("works fine!", Req2),
{ok, Req2, State}.