9 ms·
Out of curiosity, how do you inject your own request_handler if you are running behind something like uwsgi/nginx where you only specify the wsgi container and
by schleppy_oc 13y ago
Out of curiosity, how do you inject your own request_handler if you are running behind something like uwsgi/nginx where you only specify the wsgi container and don't ever call run yourself? It appears the request_handler is only passed on through to werkzeug via run(kwargs).
- DasIch 13y agoYou don't, he just hacked the development server Flask uses, you shouldn't use it in production anyway. The better and more general approach would be using a WSGI middleware.