From dc987c27390d91f1fef867952208beaf2624036c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=AD=E4=B9=9D=E9=BC=8E?= <109224573@qq.com> Date: Mon, 9 May 2022 21:38:53 +0800 Subject: use https for links --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 0430dbc..756a6a3 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ ## Summary **requests-cache** is a persistent HTTP cache that provides an easy way to get better -performance with the python [requests](http://python-requests.org) library. +performance with the python [requests](https://python-requests.org) library. Complete project documentation can be found at [requests-cache.readthedocs.io](https://requests-cache.readthedocs.io). @@ -60,7 +60,7 @@ import requests session = requests.Session() for i in range(60): - session.get('http://httpbin.org/delay/1') + session.get('https://httpbin.org/delay/1') ``` **This takes 1 second:** @@ -69,7 +69,7 @@ import requests_cache session = requests_cache.CachedSession('demo_cache') for i in range(60): - session.get('http://httpbin.org/delay/1') + session.get('https://httpbin.org/delay/1') ``` With caching, the response will be fetched once, saved to `demo_cache.sqlite`, and subsequent @@ -84,7 +84,7 @@ import requests import requests_cache requests_cache.install_cache('demo_cache') -requests.get('http://httpbin.org/delay/1') +requests.get('https://httpbin.org/delay/1') ``` **Settings:** -- cgit v1.2.1