Class HTTPError
class HTTPError (Exception) :
Method HTTPError.__init__
def __init__ (self, code, reason=None, debug=None, headers={}) :
Function http
def http (content_type=None, **types) :
Function decorator
def decorator (method) :
Function wrapper
@functools.wraps(method)
def wrapper (*larg, **karg) : ...
Class Node
class Node (object) :
Method Node.__init__
def __init__ (self, **children) :
Method Node.__getitem__
def __getitem__ (self, path) :
Class DirNode
class DirNode (Node) :
Method DirNode.__init__
def __init__ (self, path) :
Method DirNode.__getitem__
def __getitem__ (self, path) :
Class ResourceNode
class ResourceNode (Node) :
Method ResourceNode.__init__
def __init__ (self, data, dirs) :
Method ResourceNode.__getitem__
def __getitem__ (self, path) :
Class HTTPRequestHandler
class HTTPRequestHandler (BaseHTTPServer.BaseHTTPRequestHandler) :
Method HTTPRequestHandler.do_GET
def do_GET (self) :
Method HTTPRequestHandler.do_POST
def do_POST (self) :
Method HTTPRequestHandler.geturl
def geturl (self) :
Method HTTPRequestHandler.do
def do (self, url, data) :
Method HTTPRequestHandler.log_request
def log_request (self, code="-", size="-") :
Method HTTPRequestHandler.log_message
def log_message (self, format, *args) :
Method HTTPRequestHandler.log_error
def log_error (self, format, *args) :
Class HTTPServer
class HTTPServer (BaseHTTPServer.HTTPServer):
Method HTTPServer.__init__
def __init__ (self, server_address, root):
Method HTTPServer.__getitem__
def __getitem__ (self, path) :