module documentation
(source)

An implementation of Python Web Server Gateway Interface v1.0.1.
Class ​WSGIResource An IResource implementation which delegates responsibility for all resources hierarchically inferior to it to a WSGI application.
Class _​Error​Stream File-like object instances of which are used as the value for the 'wsgi.errors' key in the environ dictionary passed to the application object.
Class _​Input​Stream File-like object instances of which are used as the value for the 'wsgi.input' key in the environ dictionary passed to the application object.
Class _​WSGIResponse Helper for WSGIResource which drives the WSGI application using a threadpool and hooks it up to the http.Request.
Function _wsgi​String Convert string to an ISO-8859-1 byte string, if it is not already.
Function _wsgi​String​To​Bytes Return string as is; a WSGI string is a byte string in Python 2.
def _wsgiString(string): (source)
Convert string to an ISO-8859-1 byte string, if it is not already.
Parameters
string:str/bytes or unicodeUndocumented
Returns
str/bytesUndocumented
Raises
UnicodeEncodeErrorIf string contains non-ISO-8859-1 chars.
def _wsgiStringToBytes(string): (source)
Return string as is; a WSGI string is a byte string in Python 2.
Parameters
string:str/bytesUndocumented
Returns
str/bytesUndocumented