v 4.0.0 Updated: 5 months, 1 week ago
Cross Origin Resource Sharing (CORS) support for Flask
A Flask extension for handling Cross Origin Resource Sharing (CORS), making cross-origin AJAX possible. This package has a simple philosophy, when you want to enable CORS, you wish to enable it for all use cases on a domain. This means no mucking around with different allowed headers, methods, etc. By default, submission of cookies across domains is disabled due to the security implications, please see the documentation for how to enable credential'ed requests, and please make sure you add some sort of CSRF protection before doing so!
To install py310-flask-cors, paste this in macOS terminal after installing MacPorts
sudo port install py310-flask-cors