Content deleted Content added
No edit summary |
Fixed typo |
||
Line 10:
The WSGI has two sides: the "[[server (computing)|server]]" or "gateway" side (often the web server like Apache, Nginx), and the "application" or "framework" side (the python script itself). To process a WSGI request, the server side executes the application and provides environment information and a callback function to the application side. The application processes the request, and returns the response to the server side using the callback function it was provided.
The So-called ''WSGI [[middleware]]'' sits in the middle of the server and application thus implements both sides of the API. The server after receiving request from a client forwards it to
A "middleware" component can perform such functions as:
|