Claim

Free compliance patch

Claim your free patch

One real fix. No forms. No pitch on this page.

Click either · or say “yes”

● Claimed · verified engine patch

Add AI Disclosure Middleware

Injects a mandatory AI disclosure header on every response. Drop into FastAPI.

MISSING_AI_DISCLOSURE · fastapi · python · smoke-tested
# main.py
from fastapi import FastAPI, Request

app = FastAPI()

@app.middleware("http")
async def ai_disclosure_middleware(request: Request, call_next):
    response = await call_next(request)
    response.headers["X-AI-Disclosure"] = "This interaction is powered by AI."
    return response
← deadlinesf.net