Module Expr Str Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body If Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad ListLoad SubscriptLoad NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body If CompareEq Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore NameLoad CompareEq Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return Call AttributeLoad Str attr NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore NameLoad While CompareLt NameLoad Call NameLoad NameLoad body If CompareEq Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num attr NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Delete SubscriptDel NameLoad Index NameLoad Continue AugAssignAdd NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore NameLoad While CompareLt NameLoad Call NameLoad NameLoad body If CompareEq Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num attr NameLoad body Assert UnaryOpNot NameLoad BinOpMod Str NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Assign SubscriptStore NameLoad Index NameLoad TupleLoad NameLoad NameLoad AugAssignAdd NameStore Num If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Num Return BinOpMod Str Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Num If BoolOpAnd NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Dict attr Str body AugAssignAdd NameStore BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Call NameLoad Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Num FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad NameLoad NameLoad Return ListLoad NameLoad decorator_list Return NameLoad decorator_list
N/A N/A Routines to generate WSGI responses N/A warnings HeaderDict N/A dict N/A N/A 
    This represents response headers.  It handles the headers as a
    dictionary, with case-insensitive keys.

    Also there is an ``.add(key, value)`` method, which sets the key,
    or adds the value to the current value (turning it into a list if
    necessary).

    For passing to WSGI there is a ``.headeritems()`` method which is
    like ``.items()`` but unpacks value that are lists.  It also
    handles encoding -- all headers are encoded in ASCII (if they are
    unicode).

    @@: Should that encoding be ISO-8859-1 or UTF-8?  I'm not sure
    what the spec says.
     __getitem__ N/A N/A self key N/A N/A N/A N/A N/A dict __getitem__ self N/A N/A self normalize key N/A __setitem__ N/A N/A self key value N/A N/A N/A N/A N/A dict __setitem__ self N/A N/A self normalize key value N/A __delitem__ N/A N/A self key N/A N/A N/A N/A N/A dict __delitem__ self N/A N/A self normalize key N/A __contains__ N/A N/A self key N/A N/A N/A N/A N/A dict __contains__ self N/A N/A self normalize key N/A N/A has_key __contains__ get N/A N/A self key failobj N/A None N/A N/A N/A N/A dict get self N/A N/A self normalize key failobj N/A setdefault N/A N/A self key failobj N/A None N/A N/A N/A N/A dict setdefault self N/A N/A self normalize key failobj N/A pop N/A N/A self key N/A args N/A N/A N/A N/A dict pop self N/A N/A self normalize key args N/A update N/A N/A self other N/A N/A N/A key other N/A N/A N/A self N/A N/A N/A self normalize key N/A other N/A key N/A normalize N/A N/A self key N/A N/A N/A N/A N/A N/A N/A N/A str key lower strip N/A add N/A N/A self key value N/A N/A N/A key N/A N/A self normalize key N/A N/A key self N/A N/A N/A isinstance N/A self N/A key list N/A N/A N/A N/A N/A self N/A key append value N/A N/A N/A self N/A key N/A N/A self N/A key value N/A N/A N/A self N/A key value N/A headeritems N/A N/A self N/A N/A N/A result N/A N/A N/A key value N/A N/A self items N/A N/A N/A isinstance value list N/A N/A v value N/A N/A N/A N/A result append N/A key N/A str v N/A N/A N/A N/A result append N/A key N/A str value N/A result N/A fromlist N/A N/A cls seq N/A N/A N/A self N/A cls N/A N/A name value seq N/A N/A N/A N/A self add name value N/A self N/A N/A fromlist N/A classmethod fromlist N/A has_header N/A N/A headers name N/A N/A N/A 
    Is header named ``name`` present in headers?
     N/A name N/A N/A name lower N/A N/A header value headers N/A N/A N/A N/A N/A header lower name N/A N/A True N/A False N/A header_value N/A N/A headers name N/A N/A N/A 
    Returns the header's value, or None if no such header.  If a
    header appears more than once, all the values of the headers
    are joined with ','.   Note that this is consistent /w RFC 2616
    section 4.2 which states:

        It MUST be possible to combine the multiple header fields
        into one "field-name: field-value" pair, without changing
        the semantics of the message, by appending each subsequent
        field-value to the first, each separated by a comma.

    However, note that the original netscape usage of 'Set-Cookie',
    especially in MSIE which contains an 'expires' date will is not
    compatible with this particular concatination method.
     N/A name N/A N/A name lower N/A result N/A value N/A N/A header value headers N/A N/A N/A header lower name N/A result N/A N/A N/A N/A , join result N/A N/A None N/A remove_header N/A N/A headers name N/A N/A N/A 
    Removes the named header from the list of headers.  Returns the
    value of that header, or None if no header found.  If multiple
    headers are found, only the last one is returned.
     N/A name N/A N/A name lower N/A i 0 N/A result None N/A N/A i N/A len headers N/A N/A N/A N/A N/A N/A N/A headers N/A i N/A 0 lower name N/A N/A result N/A N/A headers N/A i N/A 1 N/A N/A headers N/A i N/A N/A i 1 N/A result N/A replace_header N/A N/A headers name value N/A N/A N/A 
    Updates the headers replacing the first occurance of the given name
    with the value provided; asserting that no further occurances
    happen. Note that this is _not_ the same as remove_header and then
    append, as two distinct operations (del followed by an append) are
    not atomic in a threaded environment. Returns the previous header
    value for the provided name, if any.   Clearly one should not use
    this function with ``set-cookie`` or other names that may have more
    than one occurance in the headers.
     N/A name N/A N/A name lower N/A i 0 N/A result None N/A N/A i N/A len headers N/A N/A N/A N/A N/A N/A N/A headers N/A i N/A 0 lower name N/A N/A N/A result N/A two values for the header '%s' found name N/A result N/A N/A headers N/A i N/A 1 N/A N/A headers N/A i N/A name value N/A i 1 N/A N/A result N/A N/A N/A N/A headers append N/A name value N/A result N/A error_body_response N/A N/A error_code message __warn N/A True N/A N/A 
    Returns a standard HTML response page for an HTTP error.
    **Note:** Deprecated
     N/A __warn N/A N/A N/A N/A warnings warn wsgilib.error_body_response is deprecated; use the wsgi_application method on an HTTPException object instead DeprecationWarning 2 N/A N/A <html>
  <head>
    <title>%(error_code)s</title>
  </head>
  <body>
  <h1>%(error_code)s</h1>
  %(message)s
  </body>
</html> N/A error_code message error_code message N/A error_response N/A N/A environ error_code message debug_message __warn N/A None True N/A N/A 
    Returns the status, headers, and body of an error response.

    Use like:

    .. code-block:: python

        status, headers, body = wsgilib.error_response(
            '301 Moved Permanently', 'Moved to <a href="%s">%s</a>'
            % (url, url))
        start_response(status, headers)
        return [body]

    **Note:** Deprecated
     N/A __warn N/A N/A N/A N/A warnings warn wsgilib.error_response is deprecated; use the wsgi_application method on an HTTPException object instead DeprecationWarning 2 N/A N/A debug_message N/A N/A N/A N/A environ get paste.config N/A get debug N/A N/A message N/A 

<!-- %s --> debug_message N/A body N/A error_body_response error_code message __warn False N/A headers N/A N/A content-type text/html N/A content-length N/A str N/A len body N/A N/A error_code headers body N/A error_response_app N/A N/A error_code message debug_message __warn N/A None True N/A N/A 
    An application that emits the given error response.

    **Note:** Deprecated
     N/A __warn N/A N/A N/A N/A warnings warn wsgilib.error_response_app is deprecated; use the wsgi_application method on an HTTPException object instead DeprecationWarning 2 application N/A N/A environ start_response N/A N/A N/A N/A status headers body N/A error_response environ error_code message debug_message debug_message __warn False N/A N/A start_response status headers N/A N/A body N/A N/A application N/A