aboutsummaryrefslogtreecommitdiffstats
path: root/test/twitter_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-08-29 15:58:38 +0200
committerLoïc Hoguin <[email protected]>2013-08-29 15:58:38 +0200
commit3a048dc90ba0e96a0f8fc777cb94f0b68f622bce (patch)
tree5a9732431fba4990aa5f9b47f3bcff341a2b3ea7 /test/twitter_SUITE.erl
parentcc4d27be1b18f39d6dc57fee0ed99cab701b34d1 (diff)
downloadgun-3a048dc90ba0e96a0f8fc777cb94f0b68f622bce.tar.gz
gun-3a048dc90ba0e96a0f8fc777cb94f0b68f622bce.tar.bz2
gun-3a048dc90ba0e96a0f8fc777cb94f0b68f622bce.zip
The gun_response message now says if data will follow
Diffstat (limited to 'test/twitter_SUITE.erl')
-rw-r--r--test/twitter_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/twitter_SUITE.erl b/test/twitter_SUITE.erl
index ad698a3..b547ed5 100644
--- a/test/twitter_SUITE.erl
+++ b/test/twitter_SUITE.erl
@@ -51,7 +51,7 @@ spdy(_) ->
{ok, Pid} = gun:open("twitter.com", 443),
Ref = gun:get(Pid, "/"),
receive
- {gun_response, Pid, Ref, Status, Headers} ->
+ {gun_response, Pid, Ref, nofin, Status, Headers} ->
ct:print("response ~p ~p", [Status, Headers]),
data_loop(Pid, Ref)
after 5000 ->