Bump uvicorn[standard] from 0.30.6 to 0.31.0
Bumps uvicorn[standard] from 0.30.6 to 0.31.0.
Release notes
Sourced from uvicorn[standard]'s releases.
Version 0.31.0
Added
Improve
ProxyHeadersMiddleware
(#2468) and (#2231):
- Fix the host for requests from clients running on the proxy server itself.
- Fallback to host that was already set for empty x-forwarded-for headers.
- Also allow specifying IP Networks as trusted hosts. This greatly simplifies deployments on docker swarm/Kubernetes, where the reverse proxy might have a dynamic IP.
- This includes support for IPv6 Address/Networks.
Full Changelog: https://github.com/encode/uvicorn/compare/0.30.6...0.31.0
Changelog
Sourced from uvicorn[standard]'s changelog.
0.31.0 (2024-09-27)
Added
Improve
ProxyHeadersMiddleware
(#2468) and (#2231):
- Fix the host for requests from clients running on the proxy server itself.
- Fallback to host that was already set for empty x-forwarded-for headers.
- Also allow to specify IP Networks as trusted hosts. This greatly simplifies deployments on docker swarm/kubernetes, where the reverse proxy might have a dynamic IP.
- This includes support for IPv6 Address/Networks.