"""HTTP 安全 headers + 簡易 CSP(PRD §10.9)。""" from __future__ import annotations from starlette.middleware.base import BaseHTTPMiddleware from starlette.responses import Response from app.feature_flags import feature_hsts # 因為 HTML 既有大量 inline