diff options
author | Jordan Cook <jordan.cook.git@proton.me> | 2023-01-13 13:59:44 -0600 |
---|---|---|
committer | Jordan Cook <jordan.cook.git@proton.me> | 2023-02-18 15:55:25 -0600 |
commit | d5baa7ff923f58a1464a3a4375e14e274f8eca13 (patch) | |
tree | 1d98b777233f7d94df71925ec518ca429a282678 /HISTORY.md | |
parent | 7b60ab73b727bb19c842426ee0225c5333059e9e (diff) | |
download | requests-cache-d5baa7ff923f58a1464a3a4375e14e274f8eca13.tar.gz |
Raise an error for invalid expiration string values (except for headers containing httpdates)
Diffstat (limited to 'HISTORY.md')
-rw-r--r-- | HISTORY.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -110,6 +110,8 @@ * Add `CachedRequest.path_url` property for compatibility with `RequestEncodingMixin` * Fix potential `AttributeError` due to undetected imports when requests-cache is bundled in a PyInstaller package * Fix `AttributeError` when attempting to unpickle a `CachedSession` object, and instead disable pickling by raising a `NotImplementedError` +* Raise an error for invalid expiration string values (except for headers containing httpdates) + * Previously, this would be quietly ignored, and the response would be cached indefinitely 📦 **Dependencies:** * Replace `appdirs` with `platformdirs` |