diff --git a/app/api.py b/app/api.py index 8d41d1b..201be8b 100644 --- a/app/api.py +++ b/app/api.py @@ -165,4 +165,10 @@ async def reload(creds: HTTPBasicCredentials = Depends(security)): @router.get('/health') async def health(): - return {'status':'ok'} \ No newline at end of file + return {'status':'ok'} + +from fastapi import Request + +@router.get("/_debug/headers") +async def debug_headers(request: Request): + return {"headers": dict(request.headers)} \ No newline at end of file