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

Commit

Permalink
Merge pull request #105 from jdecuyper/docs-replace-twitter
Browse files Browse the repository at this point in the history
Use http2bin.org instead of twitter.com
  • Loading branch information
Lukasa committed Mar 23, 2015
2 parents ef7c6a1 + 01aaf74 commit 759cad5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ that always resizes the window in response to incoming data like this::

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

HTTP20Connection('twitter.com:443', window_manager=StupidFlowControlManager)
HTTP20Connection('http2bin.org', window_manager=StupidFlowControlManager)

Note that we don't plug an instance of the class in, we plug the class itself
in. We do this because the connection object will spawn instances of the class
Expand Down
4 changes: 2 additions & 2 deletions docs/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ you away from HTTP/2. Make sure you install the adapter for all the hostnames
you're interested in::

>>> a = HTTP20Adapter()
>>> s.mount('https://twitter.com', a)
>>> s.mount('https://www.twitter.com', a)
>>> s.mount('https://http2bin.org', a)
>>> s.mount('https://www.http2bin.org', a)

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

Expand Down

0 comments on commit 759cad5

Please sign in to comment.