CrossOriginOpenerPolicy.value()
Set a custom value for the Cross-Origin-Opener-Policy header.
Usage
CrossOriginOpenerPolicy.value(directive)This is an escape hatch. Prefer the explicit directive helpers when possible.
Safety: Rejects CR/LF to avoid header-splitting. Additional validation (obs-text, etc.) remains the responsibility of Secure.validate_and_normalize_headers(...).
Parameters
directive-
Custom header value (usually one of the COOP directives).
Returns
The CrossOriginOpenerPolicy instance for method chaining.