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

Commit

Permalink
Correct requests quickstart.
Browse files Browse the repository at this point in the history
  • Loading branch information
hwms authored Feb 23, 2020
1 parent 93a2f7a commit 118549a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ Using ``hyper`` with requests is super simple::
>>> import requests
>>> from hyper.contrib import HTTP20Adapter
>>> s = requests.Session()
>>> s.mount('https://http2bin.org', HTTP20Adapter())
>>> r = s.get('https://http2bin.org/get')
>>> s.mount('https://', HTTP20Adapter())
>>> r = s.get('https://httpbin.org/get')
>>> print(r.status_code)
200

Expand Down

0 comments on commit 118549a

Please sign in to comment.