├── .github ├── dependabot.yml └── workflows │ ├── publish.yml │ └── test.yml ├── .gitignore ├── .pre-commit-config.yaml ├── LICENSE ├── README.md ├── idempotency_header_middleware ├── __init__.py ├── backends │ ├── __init__.py │ ├── base.py │ ├── memory.py │ └── redis.py ├── middleware.py └── py.typed ├── poetry.lock ├── pyproject.toml ├── setup.cfg └── tests ├── __init__.py ├── conftest.py ├── static └── image.jpeg ├── test_backends.py └── test_middleware.py /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/README.md -------------------------------------------------------------------------------- /idempotency_header_middleware/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/idempotency_header_middleware/__init__.py -------------------------------------------------------------------------------- /idempotency_header_middleware/backends/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/idempotency_header_middleware/backends/__init__.py -------------------------------------------------------------------------------- /idempotency_header_middleware/backends/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/idempotency_header_middleware/backends/base.py -------------------------------------------------------------------------------- /idempotency_header_middleware/backends/memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/idempotency_header_middleware/backends/memory.py -------------------------------------------------------------------------------- /idempotency_header_middleware/backends/redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/idempotency_header_middleware/backends/redis.py -------------------------------------------------------------------------------- /idempotency_header_middleware/middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/idempotency_header_middleware/middleware.py -------------------------------------------------------------------------------- /idempotency_header_middleware/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/setup.cfg -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/static/image.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/tests/static/image.jpeg -------------------------------------------------------------------------------- /tests/test_backends.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/tests/test_backends.py -------------------------------------------------------------------------------- /tests/test_middleware.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/asgi-idempotency-header/HEAD/tests/test_middleware.py --------------------------------------------------------------------------------