Content deleted Content added
added a description of wsgi middelware and a more detailed description of paste |
→WSGI middleware: grammatically clarification |
||
Line 6:
To understand the function of paste it is first necessary to understand WSGI middleware.
The [[WSGI]] standard is an interface that allows applications to use python code to handle HTTP requests. Python code is passed a python representation of an HTTP request by an application, and in return passes back content which will normally eventually be rendered by
There are, however, other uses: '''WSGI middleware''' is python code that receives a WSGI request and then performs logic based upon this request, before passing the request on to a WSGI application or more WSGI middleware. This is analogous the function of pipes on Unix systems. Functionality provided by WSGI middleware include authentication, logging, [[url redirection]], creation of [[sessions]], and compression.
|