{"id":16750098,"url":"https://github.com/alexferl/falcon-crossorigin","last_synced_at":"2026-02-06T00:02:46.406Z","repository":{"id":83557184,"uuid":"260376927","full_name":"alexferl/falcon-crossorigin","owner":"alexferl","description":"A simple Falcon module for Cross-Origin Resource Sharing (CORS)","archived":false,"fork":false,"pushed_at":"2025-01-13T18:11:44.000Z","size":54,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-27T11:44:47.189Z","etag":null,"topics":["cors","cors-enabled","falcon","falcon-cors","falcon-framework","falcon-middleware","python-falcon"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexferl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-01T04:11:14.000Z","updated_at":"2024-07-15T20:27:46.000Z","dependencies_parsed_at":"2025-02-17T11:41:48.510Z","dependency_job_id":null,"html_url":"https://github.com/alexferl/falcon-crossorigin","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/alexferl/falcon-crossorigin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Ffalcon-crossorigin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Ffalcon-crossorigin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Ffalcon-crossorigin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Ffalcon-crossorigin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexferl","download_url":"https://codeload.github.com/alexferl/falcon-crossorigin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexferl%2Ffalcon-crossorigin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29140049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T23:14:48.546Z","status":"ssl_error","status_checked_at":"2026-02-05T23:14:35.724Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cors","cors-enabled","falcon","falcon-cors","falcon-framework","falcon-middleware","python-falcon"],"created_at":"2024-10-13T02:27:02.908Z","updated_at":"2026-02-06T00:02:46.389Z","avatar_url":"https://github.com/alexferl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# falcon-crossorigin [![codecov](https://codecov.io/gh/alexferl/falcon-crossorigin/branch/master/graph/badge.svg)](https://codecov.io/gh/alexferl/falcon-crossorigin)\n\nA simple [Falcon](https://github.com/falconry/falcon) module for Cross-Origin Resource Sharing (CORS).\n\n\n## Install\n```shell script\npip install falcon-crossorigin\n```\n\n## Usage\n```python\nimport falcon\nfrom falcon_crossorigin import CrossOrigin\n\ncross_origin = CrossOrigin(\n    allow_origins=\"https://app.example.com\",\n    allow_methods=\"GET,POST\",\n    allow_headers=\"Pragma,Expires,Cache-Control\",\n    allow_credentials=True,\n    expose_headers=\"Link\",\n    max_age=3600,\n)\n\napi = falcon.API(middleware=[cross_origin])\n```\n\n## Credits\nPort of [Echo's](https://github.com/labstack/echo) [CORS middleware](https://github.com/labstack/echo/blob/1f6cc362cc91b22e5889b2674e45cf3545d6ee21/middleware/cors.go).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexferl%2Ffalcon-crossorigin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexferl%2Ffalcon-crossorigin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexferl%2Ffalcon-crossorigin/lists"}