├── .github ├── actions │ └── setup-python-env │ │ └── action.yml └── workflows │ ├── main.yml │ ├── on-release-main.yml │ └── validate-codecov-config.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .readthedocs.yaml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.rst ├── codecov.yaml ├── docs ├── decorator.md ├── examples │ ├── blueprints.md │ ├── decorator.md │ └── extension.md ├── extension.md └── index.md ├── examples ├── app_based_example.py ├── blueprints_based_example.py └── view_based_example.py ├── flask_cors ├── __init__.py ├── core.py ├── decorator.py ├── extension.py └── version.py ├── mkdocs.yml ├── pyproject.toml ├── tests ├── __init__.py ├── base_test.py ├── core │ ├── __init__.py │ ├── test_helpers.py │ └── test_override_headers.py ├── decorator │ ├── __init__.py │ ├── test_allow_headers.py │ ├── test_credentials.py │ ├── test_duplicate_headers.py │ ├── test_exception_interception.py │ ├── test_expose_headers.py │ ├── test_max_age.py │ ├── test_methods.py │ ├── test_options.py │ ├── test_origins.py │ ├── test_private_network_headers.py │ ├── test_vary_header.py │ └── test_w3.py └── extension │ ├── __init__.py │ └── test_app_extension.py ├── tox.ini └── uv.lock /.github/actions/setup-python-env/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/.github/actions/setup-python-env/action.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/on-release-main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/.github/workflows/on-release-main.yml -------------------------------------------------------------------------------- /.github/workflows/validate-codecov-config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/.github/workflows/validate-codecov-config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/Makefile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/README.rst -------------------------------------------------------------------------------- /codecov.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/codecov.yaml -------------------------------------------------------------------------------- /docs/decorator.md: -------------------------------------------------------------------------------- 1 | ::: flask_cors.cross_origin 2 | -------------------------------------------------------------------------------- /docs/examples/blueprints.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/docs/examples/blueprints.md -------------------------------------------------------------------------------- /docs/examples/decorator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/docs/examples/decorator.md -------------------------------------------------------------------------------- /docs/examples/extension.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/docs/examples/extension.md -------------------------------------------------------------------------------- /docs/extension.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/docs/extension.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/docs/index.md -------------------------------------------------------------------------------- /examples/app_based_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/examples/app_based_example.py -------------------------------------------------------------------------------- /examples/blueprints_based_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/examples/blueprints_based_example.py -------------------------------------------------------------------------------- /examples/view_based_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/examples/view_based_example.py -------------------------------------------------------------------------------- /flask_cors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/flask_cors/__init__.py -------------------------------------------------------------------------------- /flask_cors/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/flask_cors/core.py -------------------------------------------------------------------------------- /flask_cors/decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/flask_cors/decorator.py -------------------------------------------------------------------------------- /flask_cors/extension.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/flask_cors/extension.py -------------------------------------------------------------------------------- /flask_cors/version.py: -------------------------------------------------------------------------------- 1 | __version__ = '5.0.0' 2 | -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/base_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/base_test.py -------------------------------------------------------------------------------- /tests/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/core/__init__.py -------------------------------------------------------------------------------- /tests/core/test_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/core/test_helpers.py -------------------------------------------------------------------------------- /tests/core/test_override_headers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/core/test_override_headers.py -------------------------------------------------------------------------------- /tests/decorator/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/decorator/__init__.py -------------------------------------------------------------------------------- /tests/decorator/test_allow_headers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/decorator/test_allow_headers.py -------------------------------------------------------------------------------- /tests/decorator/test_credentials.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/decorator/test_credentials.py -------------------------------------------------------------------------------- /tests/decorator/test_duplicate_headers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/decorator/test_duplicate_headers.py -------------------------------------------------------------------------------- /tests/decorator/test_exception_interception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/decorator/test_exception_interception.py -------------------------------------------------------------------------------- /tests/decorator/test_expose_headers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/decorator/test_expose_headers.py -------------------------------------------------------------------------------- /tests/decorator/test_max_age.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/decorator/test_max_age.py -------------------------------------------------------------------------------- /tests/decorator/test_methods.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/decorator/test_methods.py -------------------------------------------------------------------------------- /tests/decorator/test_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/decorator/test_options.py -------------------------------------------------------------------------------- /tests/decorator/test_origins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/decorator/test_origins.py -------------------------------------------------------------------------------- /tests/decorator/test_private_network_headers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/decorator/test_private_network_headers.py -------------------------------------------------------------------------------- /tests/decorator/test_vary_header.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/decorator/test_vary_header.py -------------------------------------------------------------------------------- /tests/decorator/test_w3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/decorator/test_w3.py -------------------------------------------------------------------------------- /tests/extension/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/extension/__init__.py -------------------------------------------------------------------------------- /tests/extension/test_app_extension.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tests/extension/test_app_extension.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/tox.ini -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corydolphin/flask-cors/HEAD/uv.lock --------------------------------------------------------------------------------