mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Remove another test from the old http suite
This commit is contained in:
parent
f6539a9a68
commit
d7761b5259
3 changed files with 11 additions and 8 deletions
|
@ -195,6 +195,12 @@ do(<<"stream_body">>, Req0, Opts) ->
|
|||
cowboy_req:stream_body(<<"Hello world!">>, nofin, Req),
|
||||
cowboy_req:stream_body(<<>>, fin, Req),
|
||||
{ok, Req, Opts};
|
||||
<<"multiple">> ->
|
||||
Req = cowboy_req:stream_reply(200, Req0),
|
||||
cowboy_req:stream_body(<<"Hello ">>, nofin, Req),
|
||||
cowboy_req:stream_body(<<"world">>, nofin, Req),
|
||||
cowboy_req:stream_body(<<"!">>, fin, Req),
|
||||
{ok, Req, Opts};
|
||||
<<"nofin">> ->
|
||||
Req = cowboy_req:stream_reply(200, Req0),
|
||||
cowboy_req:stream_body(<<"Hello world!">>, nofin, Req),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue