Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 759cad5

Browse files
committed
Merge pull request #105 from jdecuyper/docs-replace-twitter
Use http2bin.org instead of twitter.com
2 parents ef7c6a1 + 01aaf74 commit 759cad5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/source/advanced.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ that always resizes the window in response to incoming data like this::
102102

103103
The *class* can then be plugged straight into a connection object::
104104

105-
HTTP20Connection('twitter.com:443', window_manager=StupidFlowControlManager)
105+
HTTP20Connection('http2bin.org', window_manager=StupidFlowControlManager)
106106

107107
Note that we don't plug an instance of the class in, we plug the class itself
108108
in. We do this because the connection object will spawn instances of the class

docs/source/quickstart.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ you away from HTTP/2. Make sure you install the adapter for all the hostnames
138138
you're interested in::
139139

140140
>>> a = HTTP20Adapter()
141-
>>> s.mount('https://twitter.com', a)
142-
>>> s.mount('https://www.twitter.com', a)
141+
>>> s.mount('https://http2bin.org', a)
142+
>>> s.mount('https://www.http2bin.org', a)
143143

144144
.. _requests: http://python-requests.org/
145145

0 commit comments

Comments
 (0)