Module api
source code
|
|
is_valid_default_handler(handler)
Returns True if the handler is a valid default handler, as
described in the IRequestHandler interface documentation. |
source code
|
|
|
|
parse_arg_list(query_string)
Parse a query string into a list of (name, value) tuples. |
source code
|
|
|
|
arg_list_to_args(arg_list)
Convert a list of (name, value) tuples into into a _RequestArgs. |
source code
|
|
|
|
HTTP_STATUS = {100: 'Continue', 101: 'Switching Protocols', 20...
|
|
|
__no_apidoc__ = ['HTTPBadRequest', 'HTTPUnauthorized', 'HTTPPa...
|
|
|
__package__ = 'trac.web'
|
Imports:
ABCMeta,
BaseHTTPRequestHandler,
CookieError,
BaseCookie,
SimpleCookie,
cgi,
datetime,
hashlib,
io,
mimetypes,
os,
re,
sys,
urllib,
urlparse,
Interface,
TracBaseError,
TracError,
as_bool,
as_int,
get_last_traceback,
lazy,
normalize_filename,
http_date,
localtz,
Fragment,
tag,
empty,
exception_to_unicode,
to_unicode,
_,
N_,
tag_,
Href,
is_client_disconnect_exception,
HTTPBadGateway,
HTTPBadRequest,
HTTPConflict,
HTTPExpectationFailed,
HTTPForbidden,
HTTPGatewayTimeout,
HTTPGone,
HTTPInternalServerError,
HTTPLengthRequired,
HTTPMethodNotAllowed,
HTTPNotAcceptable,
HTTPNotFound,
HTTPNotImplemented,
HTTPPaymentRequired,
HTTPPreconditionFailed,
HTTPProxyAuthenticationRequired,
HTTPRequestEntityTooLarge,
HTTPRequestTimeout,
HTTPRequestUriTooLong,
HTTPRequestedRangeNotSatisfiable,
HTTPServiceUnavailable,
HTTPUnauthorized,
HTTPUnsupportedMediaType,
HTTPVersionNotSupported
HTTP_STATUS
- Value:
{100: 'Continue',
101: 'Switching Protocols',
200: 'Ok',
201: 'Created',
202: 'Accepted',
203: 'Non-Authoritative Information',
204: 'No Content',
205: 'Reset Content',
...
|
|
__no_apidoc__
- Value:
['HTTPBadRequest',
'HTTPUnauthorized',
'HTTPPaymentRequired',
'HTTPForbidden',
'HTTPNotFound',
'HTTPMethodNotAllowed',
'HTTPNotAcceptable',
'HTTPProxyAuthenticationRequired',
...
|
|