do_GET(req, res) Instance Public methods Raises a NotFound exception
do_HEAD(req, res) Instance Public methods Dispatches to #do_GET
do_OPTIONS(req, res) Instance Public methods Returns the allowed HTTP request methods
service(req, res) Instance Public methods Dispatches to a do_ method based on req if such a method is available. (do_GET for a GET request). Raises a MethodNotAllowed exception if the method is not implemented.
new(server, name) Class Public methods Creates a new CGI script servlet for the script at name
new(server, local_path) Class Public methods Creates a DefaultFileHandler instance for the file at local_path.
new(server, name) Class Public methods Creates a new ERBHandler on server that will evaluate and serve the ERB file name
do_GET(req, res) Instance Public methods Handles GET requests do_POST
do_POST(req, res) Instance Public methods Handles POST requests do_GET
add_handler(suffix, handler) Class Public methods Allow custom handling of requests for files with suffix by class handler
Page 1865 of 11844