Home | Trees | Indices | Help |
|
---|
|
HTTP library functions.
|
|||
HeaderElement An element (with parameters) from an HTTP header's element list. |
|||
AcceptElement An element (with parameters) from an Accept* header's element list. |
|||
CaseInsensitiveDict A case-insensitive dict subclass. |
|||
HeaderMap A dict subclass for HTTP request and response headers. |
|||
Host An internet address. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
response_codes =
|
|||
q_separator = re.compile(r';
|
|||
image_map_pattern = re.compile(r'
|
|||
__package__ =
|
|
Return the given path *atoms, joined into a single URL. This will correctly join a SCRIPT_NAME and PATH_INFO into the original URL, even if either atom is blank. |
Return a list of (start, stop) indices from a Range header, or None. Each (start, stop) tuple will be composed of two ints, which are suitable for use in a slicing operation. That is, the header "Range: bytes=3-6", if applied against a Python string, is requesting resource[3:7]. This function will return the list [(3, 7)]. If this function returns an empty list, you should return HTTP 416. |
Decode RFC-2047 TEXT (e.g. "=?utf-8?q?f=C3=BCr?=" -> u"für"). |
Return legal HTTP status Code, Reason-phrase and Message. The status arg must be an int, or a str that begins with an int. If status is an int, or a str and no reason-phrase is supplied, a default reason-phrase will be provided. |
Build a params dictionary from a query_string. Duplicate key/value pairs in the provided query_string will be returned as {'key': [val1, val2, ...]}. Single key/values will be returned as strings: {'key': 'value'}. |
|
response_codes
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Mar 19 14:12:25 2013 | http://epydoc.sourceforge.net |