SproutCMS

This is the code documentation for the SproutCMS project

file /sprout/Helpers/Cors.php

Namespace: Sprout\Helpers

View source


Classes

Cors

Cross Origin Resource Sharing.

TODO conditional safe headers: content-type, accept, accept-language, content-language
TODO conditional safe is unsafe: >128 characters
TODO restricting origins
TODO support for max-age, caching 'options' requests