pub fn security_headers_layer() -> SecurityHeadersLayerExpand description
Creates a layer that applies conservative API security headers.
Responses receive:
x-content-type-options: nosniffx-frame-options: DENYreferrer-policy: no-referrer
Existing values for those headers are replaced.