summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2021-08-26 14:48:33 -0500
committerJordan Cook <jordan.cook@pioneer.com>2021-08-26 17:04:15 -0500
commite203a48cdf58eda51f85b27d3eaf852bd9da941c (patch)
treea384f2ab226fecc66b81bf288d51f2acb0b3b960 /examples
parent31a760cfb998d31cdeb8f79e65e1f1765cb2e3c9 (diff)
downloadrequests-cache-e203a48cdf58eda51f85b27d3eaf852bd9da941c.tar.gz
Reorganize user docs: break down User Guide and Advanced Usage sections into smaller pages
Diffstat (limited to 'examples')
-rw-r--r--examples/custom_request_matcher.py (renamed from examples/custom_cache_keys.py)4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/custom_cache_keys.py b/examples/custom_request_matcher.py
index 5ba6dc0..a63139b 100644
--- a/examples/custom_cache_keys.py
+++ b/examples/custom_request_matcher.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
"""
-Example of a custom cache key function that caches a new response if the version of requests-cache,
-requests, or urllib3 changes.
+Example of a custom {ref}`request matcher <matching>` that caches a new response if the version of
+requests-cache, requests, or urllib3 changes.
This generally isn't needed, since anything that causes a deserialization error will simply result
in a new request being sent and cached. But you might want to include a library version in your cache