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:
parent
647e95aed1
commit
3b8a1365d1
3 changed files with 11 additions and 7 deletions
|
@ -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}.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue