{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/9"},{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"}],"enrichment":{"capability":"Quart-CORS adds Cross-Origin Resource Sharing (CORS) support to Quart applications, enabling controlled cross-origin requests in browsers by managing access-control headers for HTTP routes and WebSockets.","skillfed_tags":["cors","async-web","access-control"],"use_cases":["Enable a frontend hosted on one domain to make API calls to a Quart backend on a different domain.","Allow browser-based clients to access WebSocket endpoints from specific approved origins.","Restrict cross-origin requests to a whitelist of domains using regex patterns for subdomains.","Configure different CORS policies for different API routes (e.g., public endpoints vs. authenticated endpoints).","Exempt specific WebSocket handlers from CORS checks using the cors_exempt decorator."],"what_it_does":"Quart-CORS is an extension that handles Cross-Origin Resource Sharing (CORS) for Quart async web applications. It solves the problem of browser Same-Origin Policy restrictions by adding the necessary access-control headers that tell browsers which cross-origin requests are permitted. The extension works by intercepting HTTP requests and WebSocket connections, adding headers that specify allowed origins, methods, credentials, and other CORS parameters.\n\nYou can apply CORS globally to an entire application or blueprint, or selectively to individual routes and WebSocket handlers using decorators. Configuration can be set per-route or via application settings, with support for specific origins, wildcards, regex patterns, and credential sharing rules. The package handles both simple GET requests (which return CORS headers in the response) and complex requests (which require preflight OPTIONS requests).","worth_installing":"Yes, if you are building a Quart application that needs CORS support and can tolerate dormant maintenance. The package is straightforward to install and use, carries no security vulnerabilities, and has permissive licensing. However, the 595-day gap since the last release and Alpha status mean you should verify compatibility with your Quart version and be prepared to maintain a fork if critical issues arise."},"id":"quart-cors","links":{"html":"https://skillfed.io/packages/quart-cors","md":"https://skillfed.io/packages/quart-cors.md","pypi":"https://pypi.org/project/quart-cors/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-12-27","license_spdx":null,"license_treatment":"permissive","name":"quart-cors","python_support":"supports_current","summary":"A Quart extension to provide Cross Origin Resource Sharing, access control, support"},"popularity":{"monthly_downloads":698988,"position":5296,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.8.0"}
