module documentation

Undocumented

Class LimitedStream Wrap another stream to disallow reading it past a number of bytes.
Class WSGIHandler Undocumented
Class WSGIRequest Undocumented
Function get_bytes_from_wsgi Get a value from the WSGI environ dictionary as bytes.
Function get_path_info Return the HTTP request's PATH_INFO as a string.
Function get_script_name Return the equivalent of the HTTP request's SCRIPT_NAME environment variable. If Apache mod_rewrite is used, return what would have been the script name prior to any rewriting (so it's the script name as seen from the client's perspective), unless the FORCE_SCRIPT_NAME setting is set (to anything).
Function get_str_from_wsgi Get a value from the WSGI environ dictionary as str.
Variable _slashes_re Undocumented
def get_bytes_from_wsgi(environ, key, default): (source)

Get a value from the WSGI environ dictionary as bytes. key and default should be strings.

def get_path_info(environ): (source)

Return the HTTP request's PATH_INFO as a string.

def get_script_name(environ): (source)

Return the equivalent of the HTTP request's SCRIPT_NAME environment variable. If Apache mod_rewrite is used, return what would have been the script name prior to any rewriting (so it's the script name as seen from the client's perspective), unless the FORCE_SCRIPT_NAME setting is set (to anything).

def get_str_from_wsgi(environ, key, default): (source)

Get a value from the WSGI environ dictionary as str. key and default should be str objects.

_slashes_re = (source)

Undocumented