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.