Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/psf/cachecontrol
/ functions
Functions
218 in github.com/psf/cachecontrol
⨍
Functions
218
◇
Types & classes
47
Method
test_update_cached_response_no_local_cache
If the local cache doesn't have the given URL, just reuse the response passed to ``update_cached_response()``
tests/test_cache_control.py:123
Method
test_update_cached_response_with_valid_headers
If the local cache has the given URL ``update_cached_response()`` will: 1. Load the body from the cache. 2. Update the store
tests/test_cache_control.py:158
Method
test_update_cached_response_with_valid_headers_separate_body
If the local cache has the given URL ``update_cached_response()`` will: 1. Load the body from the cache. 2. Update the store
tests/test_cache_control.py:146
Method
test_vary_example
RFC 2616 13.6 When the cache receives a subsequent request whose Request-URI specifies one or more cache entries including a Vary hea
tests/test_vary.py:43
Method
test_warning_is_not_added_when_heuristic_was_not_used
(self)
tests/test_expires_heuristics.py:197
Method
test_warning_not_added_when_response_more_recent_than_24_hours
(self)
tests/test_expires_heuristics.py:193
Method
update_etag
(self, env, start_response)
tests/conftest.py:55
Method
update_headers
(self, response)
tests/issue_263.py:17
Method
update_headers
(self, resp)
tests/test_expires_heuristics.py:47
Method
update_headers
(self, response: HTTPResponse)
cachecontrol/heuristics.py:66
Method
update_headers
(self, response: HTTPResponse)
cachecontrol/heuristics.py:88
Method
update_headers
(self, resp: HTTPResponse)
cachecontrol/heuristics.py:124
Function
url
(server)
tests/conftest.py:146
Function
url_to_file_path
Return the file cache path based on the URL. This does not ensure the file exists!
cachecontrol/caches/file_cache.py:139
Function
use_adapter
()
tests/test_adapter.py:24
Function
use_wrapper
()
tests/test_adapter.py:18
Method
vary_accept
(self, env, start_response)
tests/conftest.py:40
Method
warning
(self, resp: HTTPResponse)
cachecontrol/heuristics.py:156
← previous
201–218 of 218, ranked by callers