class Kemal::Shield::CrossOriginResourcePolicy
- Kemal::Shield::CrossOriginResourcePolicy
- Kemal::Shield::Handler
- Kemal::Handler
- Reference
- Object
Overview
Kemal::Shield::CrossOriginResourcePolicy
is a handler that sets the
Cross-Origin-Resource-Policy HTTP header.
Default value is "same-origin".
A custom Cross-Origin-Resource-Policy policy can be set by setting
Kemal::Shield.config.corp
Valid policies
"same-origin"
"same-site"
"cross-origin"