OPSI.web2.wsgi module

An implementation of PEP 333: Python Web Server Gateway Interface (WSGI).

class OPSI.web2.wsgi.WSGIResource(application)

Bases: object

A web2 Resource which wraps the given WSGI application callable.

The WSGI application will be called in a separate thread (using the reactor threadpool) whenever a request for this resource or any lower part of the url hierarchy is received.

locateChild(request, segments)
renderHTTP(req)