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

Commit 12e67a4

Browse files
authored
Merge pull request #287 from Lukasa/issue/286
Use HTTPS for quickstart example.
2 parents 50bf994 + cc033e1 commit 12e67a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ the response from any of them, and switch between them using their stream IDs.
9999
For example::
100100

101101
>>> from hyper import HTTPConnection
102-
>>> c = HTTPConnection('http2bin.org')
102+
>>> c = HTTPConnection('http2bin.org', port=443)
103103
>>> first = c.request('GET', '/get', headers={'key': 'value'})
104104
>>> second = c.request('POST', '/post', body=b'hello')
105105
>>> third = c.request('GET', '/ip')

0 commit comments

Comments
 (0)