summaryrefslogtreecommitdiff
path: root/requests_cache/models
Commit message (Expand)AuthorAgeFilesLines
* Add compatibility with urllib3 2.0Jordan Cook2023-05-151-11/+20
* Fix loading cached JSON content when decode_content=True and the root element...Jordan Cook2023-05-081-1/+1
* Enable bugbear extension and fix warningsJordan Cook2023-05-081-1/+1
* Update type hints to appease Pylance and stricter mypy settingsJordan Cook2022-12-132-8/+8
* Check if raw._fp is None before trying is_fp_closed()Jordan Cook2022-12-041-1/+1
* Fix issue on Windows with occasional missing `CachedResponse.created_at` time...Jordan Cook2022-09-301-2/+4
* Remove HTTPResponse attributes from the cache, and re-construct CachedRespons...Jordan Cook2022-06-112-28/+35
* Consolidate BaseCache convenience methods into contains(), filter(), and dele...Jordan Cook2022-06-111-1/+1
* Split up remove_expired_reponses() into remove() and reset_expiration() metho...Jordan Cook2022-06-111-2/+2
* Change this into an option for CattrStage instead of a separate classJordan Cook2022-06-102-3/+4
* Add serializer stage that decodes/re-encodes response contentJordan Cook2022-06-101-0/+1
* Add a base model repr that excludes default values even if rich isn't installedJordan Cook2022-05-304-7/+18
* Add CachedRequest.path_url propertyJordan Cook2022-05-181-0/+8
* Add 'older_than' argument to remove_expired_responses()Jordan Cook2022-05-031-9/+14
* Add always_revalidate session optionJordan Cook2022-05-031-2/+2
* Fix remove_expired_responses() with SQLite and expire_after=0Jordan Cook2022-04-301-1/+1
* For SQLite expires column, use time.time() instead of datetime.timestamp()Jordan Cook2022-04-221-2/+9
* Merge *PickleDict storage classes into parent classesJordan Cook2022-04-221-4/+4
* Add misc missing test coverageJordan Cook2022-04-201-1/+1
* Improve output for all models when printed or logged with richJordan Cook2022-04-195-4/+30
* Refactor utilities for parsing cache headers into CacheDirectives classJordan Cook2022-04-181-2/+1
* Move all cache policy-related modules to separate 'policy' subpackageJordan Cook2022-04-171-2/+2
* Fix structuring/unstructuring CachedResponse.historyJordan Cook2022-04-151-7/+14
* Add an intermediate wrapper class, OriginalResponse, to provide type hints fo...Jordan Cook2022-04-012-21/+42
* Make CachedResponse.__str__ a bit more consistent with Response ('<class [sta...Jordan Cook2022-04-011-20/+14
* Move settings module to top level package, and leave 'models' subpackage for ...Jordan Cook2022-04-012-73/+0
* Add argument docs back to CachedSession.__init__ instead of generic **kwargs;...Jordan Cook2022-04-012-33/+16
* Update docs, doc dependencies, changelog, and contributorsJordan Cook2022-04-011-0/+6
* More code cleanup and commentsJordan Cook2022-03-291-24/+24
* Fix some regression bugs and broken testsJordan Cook2022-03-291-4/+5
* Split datetime-related utility functions into a separate moduleJordan Cook2022-03-292-2/+2
* Refactor request-level settings into separate RequestSettings classJordan Cook2022-03-292-5/+31
* Refactor session-level settings into separate CacheSettings classJordan Cook2022-03-292-0/+57
* Reword inaccurate usage of the term 'revalidate'Jordan Cook2022-03-111-1/+1
* Update to mypy v0.931 and add some ignores/workarounds for new false positivesJordan Cook2022-02-023-6/+11
* Format using a more typical line length of 100Jordan Cook2022-01-011-1/+4
* Add a new RedisDict class that stores responses in separate hashes instead of...Jordan Cook2021-12-011-0/+8
* Update CachedResponse headers with 304 response headers (RFC7234)Manuel Eggimann2021-11-301-3/+8
* Add back overrides for requests.Response.__getstate__ and __setstate__ so pla...Jordan Cook2021-11-241-0/+9
* Move response content reset to DictStorage.__getitem__(), since that's the on...Jordan Cook2021-10-231-4/+0
* Reorganize & improve request normalization functions:Jordan Cook2021-09-202-3/+8
* Minor optimization: exclude redundant CachedResponse.cache_key and CachedHTTP...Jordan Cook2021-08-252-9/+16
* Better serializer docsJordan Cook2021-08-201-0/+1
* Some misc docstring editsJordan Cook2021-08-193-11/+4
* Add support for Last-Modified + If-Modified-Since headersJordan Cook2021-08-141-4/+0
* Add support for ETag + If-None-Match headersJordan Cook2021-08-141-3/+7
* Drop support for python 3.6Jordan Cook2021-08-141-6/+0
* Add CachedResponse.cache_key attribute and update in CachedSession.send()Jordan Cook2021-07-201-1/+5
* Fix unpickling CachedResponse on python 3.6Jordan Cook2021-07-161-0/+6
* Add support for Response.next when 302 responses are cached directlyJordan Cook2021-07-162-4/+25