Module security

Module security 

Source
Expand description

Security headers middleware for HTTP responses.

This module provides middleware for adding security headers to HTTP responses, including CSP, HSTS, X-Frame-Options, and other protective headers.

Functionsยง

build_security_headers
Build security headers from configuration.
security_headers_middleware
Middleware to add security headers to all responses.