diff options
author | Jordan Cook <jordan.cook@pioneer.com> | 2022-04-10 12:15:46 -0500 |
---|---|---|
committer | Jordan Cook <jordan.cook@pioneer.com> | 2022-04-10 14:23:43 -0500 |
commit | d39fbfac0192fc9a2dc825dc17ede29776863f5f (patch) | |
tree | f222add93c23c4fabd68be204da86f8eb616ad90 /HISTORY.md | |
parent | 4a593b0c16aa96d5912fb6605dec46b0dc4bf66e (diff) | |
download | requests-cache-d39fbfac0192fc9a2dc825dc17ede29776863f5f.tar.gz |
Add default list of ignored_parameters for most common authentication params/headers
Diffstat (limited to 'HISTORY.md')
-rw-r--r-- | HISTORY.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -14,7 +14,7 @@ * The constant `requests_cache.DO_NOT_CACHE` may be used to completely disable caching for a request **Backends:** -* Add `wal` parameter for SQLite backend to enable write-ahead logging +* SQLite: Add a `wal` parameter to enable write-ahead logging **Other features:** * All settings that affect cache behavior can now be accessed and modified via `CachedSession.settings` @@ -27,6 +27,8 @@ * Populate `cache_key` and `expires` for new (non-cached) responses, if it was written to the cache * Add return type hints for all `CachedSession` request methods (`get()`, `post()`, etc.) * Always skip both cache read and write for requests excluded by `allowable_methods` (previously only skipped write) +* Ignore and redact common authentication params and headers (e.g., for OAuth2) by default + * This is simply a default value for `ignored_parameters`, to avoid accidentally storing credentials in the cache **Dependencies:** * Replace `appdirs` with `platformdirs` |