From b359887ee4e27234f2c1393c6087f03dc3305a8b Mon Sep 17 00:00:00 2001 From: Mathias Seidler Date: Sun, 23 Feb 2020 08:51:22 +0100 Subject: [PATCH] Correct requests example. --- docs/source/quickstart.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/quickstart.rst b/docs/source/quickstart.rst index 6ad44ec1..008d6749 100644 --- a/docs/source/quickstart.rst +++ b/docs/source/quickstart.rst @@ -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