diff options
author | 谭九鼎 <109224573@qq.com> | 2022-05-09 21:38:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 21:38:53 +0800 |
commit | dc987c27390d91f1fef867952208beaf2624036c (patch) | |
tree | 7478daabef68c2c66d3717fd1302d686fd74f1f6 /examples/vcr.py | |
parent | 20ec774349a815f4c91f1d04d3bee01deb640cc3 (diff) | |
download | requests-cache-dc987c27390d91f1fef867952208beaf2624036c.tar.gz |
use https for links
Diffstat (limited to 'examples/vcr.py')
-rw-r--r-- | examples/vcr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/vcr.py b/examples/vcr.py index bf58046..94e4fdb 100644 --- a/examples/vcr.py +++ b/examples/vcr.py @@ -94,6 +94,6 @@ def write_cassette(cassette, path): if __name__ == '__main__': cache_dir = 'example_cache' session = CachedSession(join(cache_dir, 'http_cache.sqlite')) - session.get('http://httpbin.org/get') - session.get('http://httpbin.org/json') + session.get('https://httpbin.org/get') + session.get('https://httpbin.org/json') to_vcr_cassette(session.cache, join(cache_dir, 'http_cache.yaml')) |