From bf8f114d7cb60aad09a923e0fe8fee5a5ac7b9f8 Mon Sep 17 00:00:00 2001 From: nidagithub123 Date: Mon, 23 Nov 2026 15:48:01 +0500 Subject: [PATCH] fix: make HSTS subdomain coverage opt-in --- README.md | 4 +++- src/fastapi_security_headers/config.py | 2 +- tests/test_config.py | 6 +++--- tests/test_middleware.py | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e489498..665046d 100644 --- a/README.md +++ b/README.md @@ -62,12 +62,14 @@ By default, `fastapi-security-headers` turns an **F** score on security scanners | **`X-Content-Type-Options`** | `nosniff` | **MIME-Sniffing:** Prevents browsers from guessing content types, blocking malicious scripts disguised as images or JSON. | | **`X-Frame-Options`** | `DENY` | **Clickjacking:** Prevents external sites from embedding your API inside hidden `