fix(fulfillment): mark confirmed role observations as bound

This commit is contained in:
yml
2026-11-23 23:05:18 +08:00
parent 23c4b93e9c
commit 58d782643b
7 changed files with 180 additions and 35 deletions
+4
View File
@@ -134,6 +134,10 @@ class SecurityHeadersMiddleware:
for key, value in message.get("headers", [])
if key not in replaced_headers
]
if not is_asset and not any(
key == b"cache-control" for key, _value in headers
):
headers.append((b"cache-control", b"no-store, max-age=0"))
headers.extend(
[
(b"x-content-type-options", b"nosniff"),