developer-delphi-horse-cors
CommunityCORS middleware para Horse com configuração
Authorcslsoftwares
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Middleware CORS for Horse: defines Access-Control-* headers and handles preflight OPTIONS with 204 No Content, enabling cross-origin requests for Horse-based APIs.
Core Features & Use Cases
- Global configuration via HorseCORS() with chainable methods: AllowedOrigin, AllowedCredentials, AllowedHeaders, AllowedMethods, ExposedHeaders.
- Proper preflight handling: responds to OPTIONS with 204 to unblock browser requests.
- Pipeline order: should be the first middleware to ensure preflight requests aren't blocked by auth.
Quick Start
Initialize HorseCORS, configure AllowedOrigin, AllowedCredentials, AllowedHeaders, AllowedMethods and ExposedHeaders, register it as the first middleware, then start your Horse server.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: developer-delphi-horse-cors Download link: https://github.com/cslsoftwares/ParamentersORM/archive/main.zip#developer-delphi-horse-cors Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.