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

Commit

Permalink
Use HTTPS for quickstart example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasa committed Sep 28, 2016
1 parent 50bf994 commit cc033e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit cc033e1

Please sign in to comment.