-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server header is not overridden #22
Comments
I just got the same problem. Turns out it is uvicorn that injects the server header unconditionally. |
In my case I fixed it now using
|
Thanks @lsmith77 and @nashyeung! I'll add this to the documentation. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: