Web Server Gateway Interface: Difference between revisions

Content deleted Content added
Line 11:
The WSGI interface has two sides: the "server" or "gateway" side, and the "application" or "framework" side. The server side invokes a callable object that is provided by the application side. Additionally WSGI provides middlewares, components that play both sides.
 
A "middleware" component can perform such functions as:
* Routing a request to different application objects based on the target URL, after rewriting the environ accordingly.
* Allowing multiple applications or frameworks to run side-by-side in the same process