Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Python Paste,
often simply called paste, is a set of utilities for web development in
Python. Paste has been described as "a framework for web frameworks". 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. A WSGI
application is passed a Python representation of an HTTP request by an
application, and returns content which will normally eventually be
rendered by a web browser. A common use for this is when a web server
serves content created by Python code. 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.