aboutsummaryrefslogtreecommitdiffstats
path: root/test/twitter_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-08-12 16:06:59 +0200
committerLoïc Hoguin <[email protected]>2017-08-12 16:06:59 +0200
commit24a777945ae57940f8480b4940599187bba2edcb (patch)
treeae5947ce7e582c0be5eb97891da94bb254e28103 /test/twitter_SUITE.erl
parent354c1c4ab611d3df81caac928dec1dcc888821e0 (diff)
downloadgun-24a777945ae57940f8480b4940599187bba2edcb.tar.gz
gun-24a777945ae57940f8480b4940599187bba2edcb.tar.bz2
gun-24a777945ae57940f8480b4940599187bba2edcb.zip
Remove SPDY; document HTTP/2
I just replaced "SPDY" with "HTTP/2" in the documentation. I suspect that's all that's needed, but if there's something off we can fix it later.
Diffstat (limited to 'test/twitter_SUITE.erl')
-rw-r--r--test/twitter_SUITE.erl7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/twitter_SUITE.erl b/test/twitter_SUITE.erl
index 6cd53c4..84307a2 100644
--- a/test/twitter_SUITE.erl
+++ b/test/twitter_SUITE.erl
@@ -16,7 +16,7 @@
-compile(export_all).
all() ->
- [http, http2, spdy].
+ [http, http2].
http(_) ->
{ok, Pid} = gun:open("twitter.com", 443, #{protocols => [http]}),
@@ -28,11 +28,6 @@ http2(_) ->
{ok, http2} = gun:await_up(Pid),
common(Pid).
-spdy(_) ->
- {ok, Pid} = gun:open("twitter.com", 443, #{protocols => [spdy]}),
- {ok, spdy} = gun:await_up(Pid),
- common(Pid).
-
common(Pid) ->
Ref = gun:get(Pid, "/"),
receive