https://github.com/zgoda/corslib
Policy-based CORS support library for web applications.
https://github.com/zgoda/corslib
cors python
Last synced: 9 months ago
JSON representation
Policy-based CORS support library for web applications.
- Host: GitHub
- URL: https://github.com/zgoda/corslib
- Owner: zgoda
- License: bsd-3-clause
- Created: 2020-11-18T14:50:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-22T06:15:05.000Z (over 3 years ago)
- Last Synced: 2025-08-20T09:55:23.611Z (10 months ago)
- Topics: cors, python
- Language: Python
- Homepage: https://corslib.readthedocs.io/
- Size: 56.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
- Security: docs/security.rst
Awesome Lists containing this project
README
CORS support library for web servers
====================================
.. image:: https://github.com/zgoda/corslib/workflows/Tests/badge.svg?branch=master
:target: https://github.com/zgoda/corslib/actions?query=workflow%3ATests
:alt: Tests
.. image:: https://coveralls.io/repos/github/zgoda/corslib/badge.svg?branch=master
:target: https://coveralls.io/github/zgoda/corslib?branch=master
:alt: Test coverage report
.. image:: https://www.codefactor.io/repository/github/zgoda/corslib/badge/master
:target: https://www.codefactor.io/repository/github/zgoda/corslib/overview/master
:alt: Code quality report
.. image:: https://readthedocs.org/projects/corslib/badge/?version=latest
:target: https://corslib.readthedocs.io/en/latest/?badge=latest
:alt: Documentation status
Policy-based CORS support library for web applications.
This is framework- and protocol-agnostic library that provides CORS policy object that is able to generate both preflight and regular response headers for `Cross Origin Resource Sharing `_.
It tries to be as secure as it's possible while being usable for both development and production. The goal is to provide header generation facility that has no inherent insecurities and does not produce insecure result under any circumstances.