summaryrefslogtreecommitdiff
path: root/HISTORY.md
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2022-04-18 16:10:11 -0500
committerJordan Cook <jordan.cook@pioneer.com>2022-04-18 19:50:55 -0500
commita899d9231c38f11c28b3eb0310022c92d82262b8 (patch)
treecf09e91629447bbf17fc5ef98f76d1d2866cb1a0 /HISTORY.md
parentea326d16d82d86f4fda14f83745a5a399824257d (diff)
downloadrequests-cache-a899d9231c38f11c28b3eb0310022c92d82262b8.tar.gz
Add support for Cache-Control: stale-if-error
Diffstat (limited to 'HISTORY.md')
-rw-r--r--HISTORY.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY.md b/HISTORY.md
index 5e5468a..90dac70 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -13,7 +13,8 @@
* Add `refresh` option to `CachedSession.request()` and `send()` to revalidate with the server before using a cached response
* Add `force_refresh` option to `CachedSession.request()` and `send()` to awlays make and cache a new request regardless of existing cache contents
* Make behavior for `expire_after=0` consistent with `Cache-Control: max-age=0`: if the response has a validator, save it to the cache but revalidate on use.
-* The constant `requests_cache.DO_NOT_CACHE` may be used to completely disable caching for a request
+ * The constant `requests_cache.DO_NOT_CACHE` may be used to completely disable caching for a request
+* Make behavior for `stale_if_error` partially consistent with `Cache-Control: stale-if-error`: Add support for time values (int, timedelta, etc.) in addition to `True/False`
**Backends:**
* SQLite: