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

Commit 118549a

Browse files
authored
Correct requests quickstart.
1 parent 93a2f7a commit 118549a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/quickstart.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ Using ``hyper`` with requests is super simple::
135135
>>> import requests
136136
>>> from hyper.contrib import HTTP20Adapter
137137
>>> s = requests.Session()
138-
>>> s.mount('https://http2bin.org', HTTP20Adapter())
139-
>>> r = s.get('https://http2bin.org/get')
138+
>>> s.mount('https://', HTTP20Adapter())
139+
>>> r = s.get('https://httpbin.org/get')
140140
>>> print(r.status_code)
141141
200
142142

0 commit comments

Comments
 (0)