# Cors

Handles CORS (Cross-Origin Resource Sharing) headers for HTTP responses

****

- Since [5.2.0](https://github.com/getkirby/kirby/releases/tag/5.2.0)
- Full class name: `Kirby\Cms\Cors`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Cms/Cors.php#L19>

****

### Cors

- [new Cors()](https://getkirby.com/docs/reference/objects/cms/cors/__construct.md)
- [Cors::headers()](https://getkirby.com/docs/reference/objects/cms/cors/headers.md)
- [$cors->toArray()](https://getkirby.com/docs/reference/objects/cms/cors/to-array.md)