MCPcopy Create free account

hub / github.com/psf/cachecontrol / types & classes

Types & classes47 in github.com/psf/cachecontrol

↓ 19 callersClassDictCache
cachecontrol/cache.py:35
↓ 12 callersClassDummyResponse
Match a ``urllib3.response.HTTPResponse``.
tests/utils.py:20
↓ 5 callersClassCacheController
An interface to see if request should cached or not.
cachecontrol/controller.py:50
↓ 4 callersClassCacheControlAdapter
cachecontrol/adapter.py:26
↓ 4 callersClassNullSerializer
tests/utils.py:10
↓ 3 callersClassDummyRequest
Match a Request.
tests/utils.py:33
↓ 2 callersClassCallbackFileWrapper
Small wrapper around a fp object which will tee everything read into a buffer, and when that file is closed it will execute a callback with t
cachecontrol/filewrapper.py:15
↓ 2 callersClassLastModified
If there is no Expires header already, fall back on Last-Modified using the heuristic from http://tools.ietf.org/html/rfc7234#section-4.2
cachecontrol/heuristics.py:97
↓ 2 callersClassSerializer
cachecontrol/serialize.py:17
↓ 1 callersClassDummyHeuristic
tests/test_expires_heuristics.py:46
↓ 1 callersClassExpiresAfter
Cache **all** requests for a defined time period.
cachecontrol/heuristics.py:80
↓ 1 callersClassFileCache
Traditional FileCache: body is stored in memory, so not suitable for large downloads.
cachecontrol/caches/file_cache.py:107
↓ 1 callersClassNoAgeHeuristic
tests/issue_263.py:16
↓ 1 callersClassNoopHeuristic
tests/test_expires_heuristics.py:28
↓ 1 callersClassOneDayCache
Cache the response by providing an expires 1 day in the future.
cachecontrol/heuristics.py:60
↓ 1 callersClassRedisCache
cachecontrol/caches/redis_cache.py:16
↓ 1 callersClassSeparateBodyFileCache
Memory-efficient FileCache: body is stored in a separate file, reducing peak memory usage.
cachecontrol/caches/file_cache.py:117
↓ 1 callersClassServer
examples/benchmark.py:19
↓ 1 callersClassSimpleApp
tests/conftest.py:13
ClassBaseCache
cachecontrol/cache.py:19
ClassBaseHeuristic
cachecontrol/heuristics.py:27
ClassFileCacheTestsMixin
tests/test_storage_filecache.py:28
ClassSeparateBodyBaseCache
In this variant, the body is not stored mixed in with the metadata, but is passed in (as a bytes-like object) in a separate call to ``set_bod
cachecontrol/cache.py:55
ClassTest39
tests/test_regressions.py:14
ClassTestCacheControlRequest
tests/test_cache_control.py:225
ClassTestCacheControllerResponse
tests/test_cache_control.py:24
ClassTestChunkedResponses
tests/test_chunked_response.py:23
ClassTestDisabledETags
Test our use of ETags when the response is stale and the response has an ETag.
tests/test_etag.py:108
ClassTestETag
Test our equal priority caching with ETags Equal Priority Caching is a term I've defined to describe when ETags are cached orthgonally from T
tests/test_etag.py:16
ClassTestExpiresAfter
tests/test_expires_heuristics.py:89
ClassTestFileCache
Tests for ``FileCache``.
tests/test_storage_filecache.py:121
ClassTestHeuristicWith3xxResponse
tests/test_expires_heuristics.py:44
ClassTestHeuristicWithoutWarning
tests/test_expires_heuristics.py:26
ClassTestLastModified
tests/test_expires_heuristics.py:109
ClassTestMaxAge
tests/test_max_age.py:13
ClassTestModifiedUnitTests
tests/test_expires_heuristics.py:132
ClassTestMultipleChoicesRedirects
tests/test_redirects.py:35
ClassTestOneDayCache
tests/test_expires_heuristics.py:70
ClassTestPermanentRedirects
tests/test_redirects.py:14
ClassTestRedisCache
tests/test_storage_redis.py:11
ClassTestReleaseConnection
On 304s we still make a request using our connection pool, yet we do not call the parent adapter, which releases the connection back to t
tests/test_etag.py:145
ClassTestSeparateBodyFileCache
Tests for ``SeparateBodyFileCache``
tests/test_storage_filecache.py:144
ClassTestSerializer
tests/test_serialization.py:13
ClassTestSessionActions
tests/test_adapter.py:41
ClassTestUseExpiresHeuristic
tests/test_expires_heuristics.py:63
ClassTestVary
tests/test_vary.py:15
Class_FileCacheMixin
Shared implementation for both FileCache variants.
cachecontrol/caches/file_cache.py:22