From cc033e139db314121b8068d50c1dfc8b748fd521 Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Wed, 28 Sep 2016 09:57:02 +0100 Subject: [PATCH] Use HTTPS for quickstart example. --- docs/source/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/quickstart.rst b/docs/source/quickstart.rst index 8f9502ee..6ad44ec1 100644 --- a/docs/source/quickstart.rst +++ b/docs/source/quickstart.rst @@ -99,7 +99,7 @@ the response from any of them, and switch between them using their stream IDs. For example:: >>> from hyper import HTTPConnection - >>> c = HTTPConnection('http2bin.org') + >>> c = HTTPConnection('http2bin.org', port=443) >>> first = c.request('GET', '/get', headers={'key': 'value'}) >>> second = c.request('POST', '/post', body=b'hello') >>> third = c.request('GET', '/ip')