A WSGI middleware is a WSGI application that wraps another application in order to observe or change its behavior. Werkzeug provides some middleware for common use cases.
The :doc:`interactive debugger </debug>` is also a middleware that can be applied manually, although it is typically used automatically with the :doc:`development server </serving>`.
Module | dispatcher |
Application Dispatcher ====================== |
Module | http_proxy |
Basic HTTP Proxy ================ |
Module | lint |
WSGI Protocol Linter ==================== |
Module | profiler |
Application Profiler ==================== |
Module | proxy_fix |
X-Forwarded-For Proxy Fix ========================= |
Module | shared_data |
Serve Shared Static Files ========================= |