You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just got the same problem. Turns out it is uvicorn that injects the server header unconditionally.
You can run uvicorn with the --no-server-header option to disable this header.
Ref: https://www.uvicorn.org/settings/#http
I am using the following in a FastAPI project
But the result is:
ie. it does not override the
server
header but simply adds another one.The text was updated successfully, but these errors were encountered: