class Kemal::Shield::CrossOriginOpenerPolicy
- Kemal::Shield::CrossOriginOpenerPolicy
- Kemal::Shield::Handler
- Kemal::Handler
- Reference
- Object
Overview
Kemal::Shield::CrossOriginOpenerPolicy
is a handler that sets the
Cross-Origin-Opener-Policy HTTP header.
Default value is "same-origin".
A custom Cross-Origin-Opener-Policy policy can be set by setting
Kemal::Shield.config.coop
Valid policies
"same-origin"
"same-origin-allow-popups"
"unsafe-none"