From 65cf31506fe6ac09e8d8639c89620b29bb1bff11 Mon Sep 17 00:00:00 2001 From: Sundeep Anand Date: Mon, 21 Aug 2023 11:20:17 +0930 Subject: [PATCH] fix: requests.exceptions.ConnectionError: Max retries exceeded with url: / (#321) being raised with http. Signed-off-by: Sundeep Anand --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 37f70db..df5e7b4 100644 --- a/README.rst +++ b/README.rst @@ -35,7 +35,7 @@ Quickstart sess = requests.session() cached_sess = CacheControl(sess) - response = cached_sess.get('http://google.com') + response = cached_sess.get('https://google.com') If the URL contains any caching based headers, it will cache the result in a simple dictionary.