summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
author谭九鼎 <109224573@qq.com>2022-05-09 21:38:53 +0800
committerGitHub <noreply@github.com>2022-05-09 21:38:53 +0800
commitdc987c27390d91f1fef867952208beaf2624036c (patch)
tree7478daabef68c2c66d3717fd1302d686fd74f1f6 /README.md
parent20ec774349a815f4c91f1d04d3bee01deb640cc3 (diff)
downloadrequests-cache-dc987c27390d91f1fef867952208beaf2624036c.tar.gz
use https for links
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
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.
<!-- RTD-IGNORE -->
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:**