├── .github └── workflows │ ├── publish.yml │ └── test-suite.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSES └── Apache-2.0.txt ├── README.md ├── gen_sync.py ├── httpx_caching ├── __init__.py ├── __version__.py ├── _async │ ├── __init__.py │ ├── _cache.py │ └── _transport.py ├── _heuristics.py ├── _models.py ├── _policy.py ├── _serializer.py ├── _sync │ ├── __init__.py │ ├── _cache.py │ └── _transport.py ├── _types.py ├── _utils.py ├── _wrapper.py └── py.typed ├── requirements.txt ├── scripts ├── build ├── check ├── compile ├── coverage ├── install ├── lint ├── publish └── test ├── setup.cfg ├── setup.py └── tests ├── __init__.py ├── _async ├── __init__.py ├── test_chunked_response.py ├── test_client_actions.py ├── test_etag.py ├── test_expires_heuristics.py ├── test_redirects.py └── test_vary.py ├── conftest.py ├── test_max_age.py ├── test_serialization.py └── test_server_http_version.py /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/test-suite.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/.github/workflows/test-suite.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSES/Apache-2.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/LICENSES/Apache-2.0.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/README.md -------------------------------------------------------------------------------- /gen_sync.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/gen_sync.py -------------------------------------------------------------------------------- /httpx_caching/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/httpx_caching/__init__.py -------------------------------------------------------------------------------- /httpx_caching/__version__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/httpx_caching/__version__.py -------------------------------------------------------------------------------- /httpx_caching/_async/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /httpx_caching/_async/_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/httpx_caching/_async/_cache.py -------------------------------------------------------------------------------- /httpx_caching/_async/_transport.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/httpx_caching/_async/_transport.py -------------------------------------------------------------------------------- /httpx_caching/_heuristics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/httpx_caching/_heuristics.py -------------------------------------------------------------------------------- /httpx_caching/_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/httpx_caching/_models.py -------------------------------------------------------------------------------- /httpx_caching/_policy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/httpx_caching/_policy.py -------------------------------------------------------------------------------- /httpx_caching/_serializer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/httpx_caching/_serializer.py -------------------------------------------------------------------------------- /httpx_caching/_sync/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /httpx_caching/_sync/_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/httpx_caching/_sync/_cache.py -------------------------------------------------------------------------------- /httpx_caching/_sync/_transport.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/httpx_caching/_sync/_transport.py -------------------------------------------------------------------------------- /httpx_caching/_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/httpx_caching/_types.py -------------------------------------------------------------------------------- /httpx_caching/_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/httpx_caching/_utils.py -------------------------------------------------------------------------------- /httpx_caching/_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/httpx_caching/_wrapper.py -------------------------------------------------------------------------------- /httpx_caching/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/scripts/build -------------------------------------------------------------------------------- /scripts/check: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/scripts/check -------------------------------------------------------------------------------- /scripts/compile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/scripts/compile -------------------------------------------------------------------------------- /scripts/coverage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/scripts/coverage -------------------------------------------------------------------------------- /scripts/install: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/scripts/install -------------------------------------------------------------------------------- /scripts/lint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/scripts/lint -------------------------------------------------------------------------------- /scripts/publish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/scripts/publish -------------------------------------------------------------------------------- /scripts/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/scripts/test -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/_async/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/_async/test_chunked_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/tests/_async/test_chunked_response.py -------------------------------------------------------------------------------- /tests/_async/test_client_actions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/tests/_async/test_client_actions.py -------------------------------------------------------------------------------- /tests/_async/test_etag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/tests/_async/test_etag.py -------------------------------------------------------------------------------- /tests/_async/test_expires_heuristics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/tests/_async/test_expires_heuristics.py -------------------------------------------------------------------------------- /tests/_async/test_redirects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/tests/_async/test_redirects.py -------------------------------------------------------------------------------- /tests/_async/test_vary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/tests/_async/test_vary.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_max_age.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/tests/test_max_age.py -------------------------------------------------------------------------------- /tests/test_serialization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/tests/test_serialization.py -------------------------------------------------------------------------------- /tests/test_server_http_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johtso/httpx-caching/HEAD/tests/test_server_http_version.py --------------------------------------------------------------------------------