{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/6"}],"enrichment":{"capability":"Adds Cross-Origin Resource Sharing (CORS) support to CherryPy applications via a configurable tool that can be installed globally or per-application.","skillfed_tags":["cors","cherrypy-integration","web-middleware"],"use_cases":["Enable a CherryPy-based API to accept requests from web frontends hosted on different domains.","Selectively expose static resources (CSS, JavaScript, images) to cross-origin requests while protecting other endpoints.","Configure CORS headers for specific application routes without modifying core request handling logic.","Allow browser-based clients to make XMLHttpRequest or Fetch API calls to your CherryPy backend."],"what_it_does":"cherrypy-cors is a CherryPy tool that handles Cross-Origin Resource Sharing (CORS) headers for web applications. It lets you enable CORS either globally across your entire application or selectively for specific routes and resources, managing the HTTP headers that browsers use to determine whether cross-origin requests are allowed.\n\nThe package integrates directly into CherryPy's configuration system, so you enable it by adding tool settings to your route or application config rather than writing custom middleware. It has been stable since its initial release and requires only CherryPy and httpagentparser as runtime dependencies, making it lightweight to add to existing CherryPy projects.","worth_installing":"Yes. This is a lightweight, actively maintained tool for a common need in web development. If you're building a CherryPy application that needs to serve cross-origin requests, it's the natural choice. The permissive MIT license and low dependency count make it safe to add. No known vulnerabilities."},"id":"cherrypy-cors","links":{"html":"https://skillfed.io/packages/cherrypy-cors","md":"https://skillfed.io/packages/cherrypy-cors.md","pypi":"https://pypi.org/project/cherrypy-cors/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-08-28","license_spdx":null,"license_treatment":"permissive","name":"cherrypy-cors","python_support":"supports_current","summary":"CORS handling as a cherrypy tool."},"popularity":{"monthly_downloads":131017,"position":11613,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.7.0"}
