Add ProxyHeadersMiddleware to parse X-Forwarded-Proto header
Starlett will automatically generate redirects to add or remove trailing slashes as appropriate. To do this it needs to know the protocol, however. This is usually passed by the proxy in the X-Forwarded-Proto header.
This commit is contained in:
parent
5ddf0bc9c5
commit
4af21972a9
Loading…
Reference in New Issue