Skip to content

Commit

Permalink
fix: requests.exceptions.ConnectionError: Max retries exceeded with u…
Browse files Browse the repository at this point in the history
…rl: / (#321)

being raised with http.

Signed-off-by: Sundeep Anand <sundeep.sdp5@gmail.com>
  • Loading branch information
sdp5 committed Aug 21, 2023
1 parent 5c24307 commit 65cf315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 65cf315

Please sign in to comment.