summaryrefslogtreecommitdiff
path: root/requests_cache/models/response.py
Commit message (Expand)AuthorAgeFilesLines
* Fix loading cached JSON content when decode_content=True and the root element...Jordan Cook2023-05-081-1/+1
* Update type hints to appease Pylance and stricter mypy settingsJordan Cook2022-12-131-4/+4
* 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-111-8/+4
* 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-101-2/+3
* 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-301-3/+3
* 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
* Improve output for all models when printed or logged with richJordan Cook2022-04-191-2/+2
* 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-011-19/+40
* Make CachedResponse.__str__ a bit more consistent with Response ('<class [sta...Jordan Cook2022-04-011-20/+14
* Split datetime-related utility functions into a separate moduleJordan Cook2022-03-291-1/+1
* 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-021-1/+1
* 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
* Minor optimization: exclude redundant CachedResponse.cache_key and CachedHTTP...Jordan Cook2021-08-251-6/+9
* Some misc docstring editsJordan Cook2021-08-191-8/+2
* 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-161-3/+12
* Make CachedResponse a non-slotted class to allow client code to set arbitrary...Jordan Cook2021-07-161-12/+5
* Improve type annotations and fix type checking errorsJordan Cook2021-07-061-13/+15
* Add option to exclude expired responses in keys(), values(), and response_cou...Jordan Cook2021-07-031-5/+0
* Add annotation for CachedResponse.history and add support for ForwardRef in B...Jordan Cook2021-06-111-1/+1
* Make cattrs optional, and other cleanupJordan Cook2021-05-261-22/+19
* Fix broken unit tests and add more coverageJordan Cook2021-05-261-1/+7
* Split out serializers and models into separate classesJordan Cook2021-05-261-0/+154