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 #106 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 24, 2015
2 parents 759cad5 + 2f61222 commit 6f39034
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hyper/http20/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class HTTP20Connection(object):
:param host: The host to connect to. This may be an IP address or a
hostname, and optionally may include a port: for example,
``'twitter.com'``, ``'twitter.com:443'`` or ``'127.0.0.1'``.
``'http2bin.org'``, ``'http2bin.org:443'`` or ``'127.0.0.1'``.
:param port: (optional) The port to connect to. If not provided and one also
isn't provided in the ``host`` parameter, defaults to 443.
:param window_manager: (optional) The class to use to manage flow control
Expand Down
4 changes: 2 additions & 2 deletions test/test_hyper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1984,8 +1984,8 @@ def test_gettrailer_defaults_correctly(self):
class TestHTTP20Adapter(object):
def test_adapter_reuses_connections(self):
a = HTTP20Adapter()
conn1 = a.get_connection('twitter.com')
conn2 = a.get_connection('twitter.com')
conn1 = a.get_connection('http2bin.org')
conn2 = a.get_connection('http2bin.org')

assert conn1 is conn2

Expand Down

0 comments on commit 6f39034

Please sign in to comment.