XFrameOptions
Builder for the X-Frame-Options HTTP response header.
Usage
XFrameOptions()Default header value: SAMEORIGIN
Notes
* Consider CSP frame-ancestors for richer framing controls. * This header is only processed when sent as an HTTP response header.
Resources: - https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Frame-Options - https://owasp.org/www-project-secure-headers/#x-frame-options
Parameter Attributes
header_name: str_value: str = HeaderDefaultValue.X_FRAME_OPTIONS.value