summaryrefslogtreecommitdiff
path: root/tests/unit
Commit message (Expand)AuthorAgeFilesLines
* Add support for key-only request parametersJordan Cook2022-01-141-0/+6
* Format using a more typical line length of 100Jordan Cook2022-01-013-8/+28
* Add back overrides for requests.Response.__getstate__ and __setstate__ so pla...Jordan Cook2021-11-241-0/+13
* Fix some typos in docs for custom serializers, and add a test for itJordan Cook2021-11-191-1/+24
* Add support for BaseCache keyword arguments passed along with a backend instanceJordan Cook2021-11-131-2/+17
* Move misc minor utils to a separate moduleJordan Cook2021-10-271-7/+2
* Add support for Cache-Control: immutableJordan Cook2021-10-231-0/+2
* Fix duplicate cache read (contains + getitem)Jordan Cook2021-10-231-1/+1
* Fix immediate expiration with Expires: 0 and reorganize cache header logic a bitJordan Cook2021-10-131-16/+13
* Support immediate expiration + revalidation for Cache-Control: max-age=0 and ...Jordan Cook2021-10-101-0/+15
* Fix behavior for cache_control=True with expire_afterJordan Cook2021-10-101-16/+51
* Reorganize & improve request normalization functions:Jordan Cook2021-09-202-46/+93
* Support expire_after param for CachedSession.send()Jordan Cook2021-09-181-0/+16
* Use only integers for expire_after values in seconds, since this is what Cach...Jordan Cook2021-09-181-11/+11
* Make per-request expiration thread-safe by passing via request headers instea...Jordan Cook2021-09-181-25/+24
* Redact ingored_parameters from CachedResponse.urlJordan Cook2021-09-152-6/+24
* Alias/rename old_data_on_error to stale_if_error for consistency with Cache-C...Jordan Cook2021-09-061-8/+14
* Use blake2 instead of sha256 for hashing request infoJordan Cook2021-09-062-3/+4
* Allow match_headers to optionally accept a list of specific headers to matchJordan Cook2021-09-062-3/+3
* Alias/rename 'include_get_headers' to 'match_headers' for clarity (backwards-...Jordan Cook2021-09-061-6/+12
* Allow has_url(), delete_url(), and create_key() to optionally take requests.R...Jordan Cook2021-08-281-2/+20
* Add some additional tests for cache key normalizationJordan Cook2021-08-281-2/+39
* Enable conditional requests by defaultJordan Cook2021-08-261-14/+6
* Minor optimization: exclude redundant CachedResponse.cache_key and CachedHTTP...Jordan Cook2021-08-251-2/+1
* Add BaseCache.update() method as a shortcut for exporting to a different cach...Jordan Cook2021-08-251-0/+11
* Rename DbDict to SQLiteDict for consistency with other backends (with aliases...Jordan Cook2021-08-192-10/+10
* s/whitelist/allowlistJordan Cook2021-08-191-1/+1
* Add support for custom cache keysJordan Cook2021-08-142-2/+13
* Add unit tests for new header supportJordan Cook2021-08-142-3/+75
* Add support for Last-Modified + If-Modified-Since headersJordan Cook2021-08-141-5/+0
* Convert CacheActions into an attrs classJordan Cook2021-08-141-7/+17
* Remove deprecated 'core' module and BaseCache.remove_old_entries()Jordan Cook2021-08-142-21/+5
* Drop support for python 3.6Jordan Cook2021-08-141-4/+0
* Parallelize unit tests per module instead of per functionJordan Cook2021-08-121-11/+13
* Add more test coverage for cache_control and cache_keys modulesJordan Cook2021-08-122-2/+41
* Add test coverage for optional serialization dependenciesJordan Cook2021-08-122-33/+52
* Apply whitespace/EOF fixes and isort updatesJordan Cook2021-08-084-4/+5
* Add a `BaseCache.delete_urls()` methodJordan Cook2021-08-021-3/+13
* Update `DbCache.clear()` to succeed even if the database is corruptedJordan Cook2021-08-021-3/+3
* Add CachedResponse.cache_key attribute and update in CachedSession.send()Jordan Cook2021-07-203-8/+11
* Fix cache_control option to correctly toggle cache header usage (off by default)Jordan Cook2021-07-091-1/+8
* Some serialization fixes & updates:Jordan Cook2021-07-032-7/+10
* Add option to exclude expired responses in keys(), values(), and response_cou...Jordan Cook2021-07-031-6/+15
* Rephrase BaseCache.__str__() count as 'total rows' to be less ambiguous, sinc...Jordan Cook2021-07-031-1/+1
* Add BaseCache.response_count() method to get an accurate count of valid respo...Jordan Cook2021-07-031-0/+19
* Merge pull request #286 from parkerhancock/serialization_pipelinesJordan Cook2021-06-222-9/+10
|\
| * initial serialization pipeline refactorParker Hancock2021-06-142-9/+10
* | Add ImportError to list of possible deserialization errors to catchJordan Cook2021-06-201-5/+2
|/
* Workaround for poetry issue on python 3.10 betaJordan Cook2021-06-111-3/+1
* Add tests and docsJordan Cook2021-06-112-6/+45