module documentation

Undocumented

Class ​Limited​Stream 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 No summary
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):

Get a value from the WSGI environ dictionary as bytes.

key and default should be strings.

def get_path_info(environ):
Return the HTTP request's PATH_INFO as a string.
def get_script_name(environ):
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):

Get a value from the WSGI environ dictionary as str.

key and default should be str objects.

_slashes_re =

Undocumented