mirror of https://github.com/mitsuhiko/flask.git
Browse Source
The ProxyFix middleware provided by Werkzeug uses this header for returning accurate values from request.is_secure and request.scheme. Without adding this header, Flask won't properly detect when it is being served over HTTPS and will fail to generate proper external links and cause certain extensions (e.g. Flask-OAuthlib) to function improperly. Adding this header to the example setup should reduce issues encountered by developers when following this guide.pull/1456/head
Jon Banafato
10 years ago
1 changed files with 4 additions and 3 deletions
Loading…
Reference in new issue