CrossOriginResourcePolicy
Builder for the Cross-Origin-Resource-Policy (CORP) HTTP response header.
Usage
CrossOriginResourcePolicy()CORP expresses the resource owner’s intent for which origins may load this resource, with MDN documenting same-site, same-origin, and cross-origin directives.
Default header value: same-origin
Resources: - https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cross-Origin-Resource-Policy - https://resourcepolicy.fyi/ - https://owasp.org/www-project-secure-headers/#cross-origin-resource-policy
Parameter Attributes
header_name: str_value: str = (lambda: HeaderDefaultValue.CROSS_ORIGIN_RESOURCE_POLICY.value)()