mirror of
https://github.com/Xevion/linkpulse.git
synced 2025-12-07 09:15:37 -06:00
Disable X-Process-Time response header
This commit is contained in:
@@ -45,7 +45,6 @@ class LoggingMiddleware(BaseHTTPMiddleware):
|
||||
duration=process_time,
|
||||
)
|
||||
|
||||
# TODO: Is this being returned in production? We shouldn't be leaking this.
|
||||
response.headers["X-Process-Time"] = str(process_time / 10 ** 9)
|
||||
# response.headers["X-Process-Time"] = str(process_time / 10 ** 9)
|
||||
|
||||
return response
|
||||
Reference in New Issue
Block a user