summaryrefslogtreecommitdiff
path: root/requests_cache/session.py
Commit message (Expand)AuthorAgeFilesLines
* Don't raise_for_status if status_code of response is in allowable_codesDavid Dv Schmidt2023-02-181-1/+4
* Update type hints to appease Pylance and stricter mypy settingsJordan Cook2022-12-131-7/+7
* Fix backwards-compatibility with deprecated remove_expired_responsesJordan Cook2022-10-261-3/+3
* Fix remove_expired_responses deprecation suggestionDave Gaeddert2022-10-261-1/+1
* Explicitly disable pickling CachedSession objectsJordan Cook2022-10-201-0/+6
* Update docsJordan Cook2022-06-161-11/+2
* Add support for VaryJordan Cook2022-06-161-1/+10
* Consolidate BaseCache convenience methods into contains(), filter(), and dele...Jordan Cook2022-06-111-5/+2
* Split up remove_expired_reponses() into remove() and reset_expiration() metho...Jordan Cook2022-06-111-9/+4
* use https for links谭九鼎2022-05-091-1/+1
* Implement Cache-Control: stale-while-revalidateJordan Cook2022-05-041-4/+15
* Add 'older_than' argument to remove_expired_responses()Jordan Cook2022-05-031-3/+7
* Add always_revalidate session optionJordan Cook2022-05-031-0/+4
* Fix remove_expired_responses() with SQLite and expire_after=0Jordan Cook2022-04-301-2/+2
* Add a BaseStorage.default_serializer attribute, to be more explicit about whi...Jordan Cook2022-04-221-2/+2
* Add support for Cache-Control: stale-if-errorJordan Cook2022-04-181-5/+5
* Add positional-or-keyword args to request wrapper methods consistent with req...Jordan Cook2022-04-181-8/+8
* Close database connections (if applicable) on CachedSession.__exit__ and close()Jordan Cook2022-04-181-0/+5
* Refactor utilities for parsing cache headers into CacheDirectives classJordan Cook2022-04-181-4/+5
* Move all cache policy-related modules to separate 'policy' subpackageJordan Cook2022-04-171-4/+5
* Move detailed backend docs from rst docstings to md filesJordan Cook2022-04-161-15/+1
* Add default list of ignored_parameters for most common authentication params/...Jordan Cook2022-04-101-2/+4
* Move logic for translating kwargs to headers into cache_actions.set_request_h...Jordan Cook2022-04-091-32/+15
* Refactor refresh/revalidate behaviorJordan Cook2022-04-091-23/+38
* Add an intermediate wrapper class, OriginalResponse, to provide type hints fo...Jordan Cook2022-04-011-3/+28
* Move request-specific settings into RequestSettings classJordan Cook2022-04-011-0/+1
* Move settings module to top level package, and leave 'models' subpackage for ...Jordan Cook2022-04-011-5/+13
* Add argument docs back to CachedSession.__init__ instead of generic **kwargs;...Jordan Cook2022-04-011-19/+61
* More code cleanup and commentsJordan Cook2022-03-291-28/+17
* Fix some regression bugs and broken testsJordan Cook2022-03-291-8/+6
* Split datetime-related utility functions into a separate moduleJordan Cook2022-03-291-7/+12
* Refactor request-level settings into separate RequestSettings classJordan Cook2022-03-291-82/+62
* Refactor session-level settings into separate CacheSettings classJordan Cook2022-03-291-75/+29
* Move more cache policy logic to CacheActionsJordan Cook2022-03-291-14/+3
* Add support for Cache-Control: only-if-cached and corresponding options for r...Jordan Cook2022-03-111-4/+23
* Add separate revalidate ('soft refresh') option, support revalidation for no-...Jordan Cook2022-03-111-12/+20
* Add refresh option to CachedSession.request() and send()Jordan Cook2022-03-111-6/+18
* Fix support for `params`, `data`, and `json` as positional arguments to `Cach...Jordan Cook2022-02-131-4/+4
* Format using a more typical line length of 100Jordan Cook2022-01-011-3/+13
* Move 304 handling to separate methodJordan Cook2021-12-021-24/+25
* Update CachedResponse headers with 304 response headers (RFC7234)Manuel Eggimann2021-11-301-2/+8
* Update cache entry expiration date in case of 304 Not ModifiedManuel Eggimann2021-11-291-1/+6
* Add support for BaseCache keyword arguments passed along with a backend instanceJordan Cook2021-11-131-1/+0
* Move misc minor utils to a separate moduleJordan Cook2021-10-271-1/+1
* Fix behavior for cache_control=True with expire_afterJordan Cook2021-10-101-20/+9
* Update changelog and some docstringsJordan Cook2021-09-201-6/+12
* Reorganize & improve request normalization functions:Jordan Cook2021-09-201-4/+4
* Support expire_after param for CachedSession.send()Jordan Cook2021-09-181-2/+4
* Make per-request expiration thread-safe by passing via request headers instea...Jordan Cook2021-09-181-17/+11
* Fix incorrect debug message for skipping cache writeJordan Cook2021-09-151-1/+2