MCPcopy Create free account

hub / github.com/psf/cachecontrol / functions

Functions218 in github.com/psf/cachecontrol

Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_warning_is_not_added_when_heuristic_was_not_used
(self)
tests/test_expires_heuristics.py:197
Methodtest_warning_not_added_when_response_more_recent_than_24_hours
(self)
tests/test_expires_heuristics.py:193
Methodupdate_etag
(self, env, start_response)
tests/conftest.py:55
Methodupdate_headers
(self, response)
tests/issue_263.py:17
Methodupdate_headers
(self, resp)
tests/test_expires_heuristics.py:47
Methodupdate_headers
(self, response: HTTPResponse)
cachecontrol/heuristics.py:66
Methodupdate_headers
(self, response: HTTPResponse)
cachecontrol/heuristics.py:88
Methodupdate_headers
(self, resp: HTTPResponse)
cachecontrol/heuristics.py:124
Functionurl
(server)
tests/conftest.py:146
Functionurl_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
Functionuse_adapter
()
tests/test_adapter.py:24
Functionuse_wrapper
()
tests/test_adapter.py:18
Methodvary_accept
(self, env, start_response)
tests/conftest.py:40
Methodwarning
(self, resp: HTTPResponse)
cachecontrol/heuristics.py:156
← previous201–218 of 218, ranked by callers