[FEATURE] option redirect_ssl for FastAPI constructor
See original GitHub issueIs your feature request related to a problem
Redirect all requests to HTTPS.
The solution you would like
Set option redirect_ssl
to True
and all requests redirect to HTTPS.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
About HTTPS - FastAPI
For HTTPS, the server needs to have "certificates" generated by a third party. Those certificates are actually acquired from the third party, not...
Read more >Advanced Middleware - FastAPI
Enforces that all incoming requests must either be https or wss . Any incoming requests to http or ws will be redirected to...
Read more >Custom Request and APIRoute class - FastAPI
APIRoute that will make use of the GzipRequest . This time, it will overwrite the method APIRoute.get_route_handler() . This method returns a function....
Read more >Behind a Proxy - FastAPI
Having a proxy with a stripped path prefix, in this case, means that you could declare a path at /app in your code,...
Read more >Dependencies - First Steps - FastAPI - tiangolo
Let's first focus on the dependency. It is just a function that can take all the same parameters that a path operation function...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yeah but Flask support it
ok i close issue