index
:
delta/python-packages/requests-cache.git
codecov
dependabot/github_actions/snok/install-poetry-1.2
dependabot/github_actions/snok/install-poetry-1.3
dependabot/github_actions/supercharge/redis-github-action-1.4.0
dependabot/pip/attrs-21.4.0
dependabot/pip/cattrs-1.10.0
dependabot/pip/cattrs-1.9.0
dependabot/pip/coverage-6.1
dependabot/pip/coverage-6.2
dependabot/pip/furo-2021.10.9
dependabot/pip/furo-2021.11.12.1
dependabot/pip/furo-2022.1.2
dependabot/pip/myst-parser-0.16.0
dependabot/pip/nox-2022.1.7
dependabot/pip/pre-commit-2.15.0
dependabot/pip/psutil-5.9.0
dependabot/pip/pytest-xdist-2.4.0
dependabot/pip/pytest-xdist-2.5.0
dependabot/pip/pytest-xdist-3.3.0
dependabot/pip/redis-4.1.0
dependabot/pip/responses-0.14.0
dependabot/pip/responses-0.15.0
dependabot/pip/rich-10.11.0
dependabot/pip/rich-10.12.0
dependabot/pip/rich-10.13.0
dependabot/pip/sphinx-4.3.0
dependabot/pip/sphinx-4.4.0
dependabot/pip/sphinx-autodoc-typehints-1.13.0
dependabot/pip/sphinx-autodoc-typehints-1.14.1
dependabot/pip/sphinx-automodapi-0.14.0
dependabot/pip/sphinx-inline-tabs-2022.1.2b11
dependabot/pip/sphinx-notfound-page-0.8
dependabot/pip/ujson-4.2.0
dependabot/pip/ujson-4.3.0
dependabot/pip/ujson-5.1.0
dev
explicit-exports
history-example
lru
main
master
memcached
mongita
orm
patch-module
pre-release
v0.7
v1.x.x
wip-req-compat
github.com: reclosedev/requests-cache
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
unit
/
test_session.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
Enable bugbear extension and fix warnings
Jordan Cook
2023-05-08
1
-4
/
+4
*
Use time-machine instead of sleep for timing-based tests
Jordan Cook
2023-04-02
1
-35
/
+55
*
Don't raise_for_status if status_code of response is in allowable_codes
David Dv Schmidt
2023-02-18
1
-9
/
+34
*
Raise an error for invalid expiration string values (except for headers conta...
Jordan Cook
2023-02-18
1
-0
/
+15
*
Add tests for pypy3.9
Jordan Cook
2022-12-30
1
-3
/
+6
*
Omit invalid responses and set response.cache_key in SQLiteCache.sorted()
Jordan Cook
2022-10-28
1
-1
/
+1
*
Handle errors due to invalid responses in deserialize(), so it applies to oth...
Jordan Cook
2022-10-28
1
-2
/
+3
*
Explicitly disable pickling CachedSession objects
Jordan Cook
2022-10-20
1
-0
/
+6
*
Add 'url' argument to BaseCache.contains() and delete() for similarity to has...
Jordan Cook
2022-09-30
1
-20
/
+19
*
Silence DeprecationWarnings during tests for deprecated methods
Jordan Cook
2022-09-30
1
-1
/
+2
*
Match whether ignored_parameters are present in a request (without matching c...
Jordan Cook
2022-09-29
1
-9
/
+24
*
Update only_if_cached to take precedence over refresh or other revalidation c...
Jordan Cook
2022-07-30
1
-0
/
+10
*
Some additional logging and tests
Jordan Cook
2022-06-16
1
-0
/
+16
*
Update tests and docs
Jordan Cook
2022-06-11
1
-15
/
+10
*
Split up remove_expired_reponses() into remove() and reset_expiration() metho...
Jordan Cook
2022-06-11
1
-127
/
+5
*
Implement Cache-Control: stale-while-revalidate
Jordan Cook
2022-05-04
1
-35
/
+97
*
Add 'older_than' argument to remove_expired_responses()
Jordan Cook
2022-05-03
1
-1
/
+34
*
Add always_revalidate session option
Jordan Cook
2022-05-03
1
-3
/
+23
*
Remove row count from BaseCache.__str__
Jordan Cook
2022-04-22
1
-6
/
+3
*
For SQLite expires column, use time.time() instead of datetime.timestamp()
Jordan Cook
2022-04-22
1
-5
/
+5
*
Merge *PickleDict storage classes into parent classes
Jordan Cook
2022-04-22
1
-4
/
+6
*
Add misc missing test coverage
Jordan Cook
2022-04-20
1
-1
/
+9
*
Add support for Cache-Control: stale-if-error
Jordan Cook
2022-04-18
1
-2
/
+19
*
Move all cache policy-related modules to separate 'policy' subpackage
Jordan Cook
2022-04-17
1
-1
/
+1
*
Add serializer name to cache key to avoid errors due to switching serializers
Jordan Cook
2022-04-15
1
-8
/
+7
*
Add indexed datetime column to SQLite backend for faster eviction
Jordan Cook
2022-04-10
1
-8
/
+11
*
Add default list of ignored_parameters for most common authentication params/...
Jordan Cook
2022-04-10
1
-13
/
+36
*
Also skip cache read for requests excluded by allowable_methods
Jordan Cook
2022-04-09
1
-6
/
+46
*
Move logic for translating kwargs to headers into cache_actions.set_request_h...
Jordan Cook
2022-04-09
1
-8
/
+12
*
Refactor refresh/revalidate behavior
Jordan Cook
2022-04-09
1
-37
/
+55
*
Add an intermediate wrapper class, OriginalResponse, to provide type hints fo...
Jordan Cook
2022-04-01
1
-2
/
+2
*
Remove some redundant, undocumented means of passing CachedSession/BaseBacken...
Jordan Cook
2022-04-01
1
-20
/
+0
*
Fix 504 behavior with stale-if-error and only-if-cached
Jordan Cook
2022-04-01
1
-2
/
+3
*
Fix some regression bugs and broken tests
Jordan Cook
2022-03-29
1
-35
/
+37
*
Refactor request-level settings into separate RequestSettings class
Jordan Cook
2022-03-29
1
-20
/
+20
*
Add support for Cache-Control: only-if-cached and corresponding options for r...
Jordan Cook
2022-03-11
1
-24
/
+68
*
Add more unit test coverage for new revalidation behavior
Jordan Cook
2022-03-11
1
-1
/
+78
*
Reorganize tests in test_session module
Jordan Cook
2022-03-11
1
-248
/
+124
*
Reword inaccurate usage of the term 'revalidate'
Jordan Cook
2022-03-11
1
-2
/
+2
*
Fix cache path expansion
Andrew Stone
2022-02-17
1
-0
/
+6
*
Use only integers for expire_after values in tests and docs
Jordan Cook
2022-02-15
1
-10
/
+10
*
Fix disabling expiration for a single request with `CachedSession.request(......
Jordan Cook
2022-02-15
1
-2
/
+11
*
Fix support for `params`, `data`, and `json` as positional arguments to `Cach...
Jordan Cook
2022-02-13
1
-0
/
+6
*
Format using a more typical line length of 100
Jordan Cook
2022-01-01
1
-4
/
+16
*
Add support for BaseCache keyword arguments passed along with a backend instance
Jordan Cook
2021-11-13
1
-2
/
+17
*
Move misc minor utils to a separate module
Jordan Cook
2021-10-27
1
-7
/
+2
*
Fix duplicate cache read (contains + getitem)
Jordan Cook
2021-10-23
1
-1
/
+1
*
Reorganize & improve request normalization functions:
Jordan Cook
2021-09-20
1
-18
/
+53
*
Support expire_after param for CachedSession.send()
Jordan Cook
2021-09-18
1
-0
/
+16
*
Use only integers for expire_after values in seconds, since this is what Cach...
Jordan Cook
2021-09-18
1
-11
/
+11
[next]