Python HTTP Server Module
Simple HTTP server — HTTPServer, BaseHTTPRequestHandler, SimpleHTTPRequestHandler. This category documents 3 Python http server module entries, and each page gives you the full syntax, the parameter list, the return value, and a runnable example. The entries include: http.server.HTTPServer(), http.server.SimpleHTTPRequestHandler(), http.server.BaseHTTPRequestHandler(). http.server.HTTPServer() creates an HTTP server that listens for connections and dispatches to handlers. http.server.SimpleHTTPRequestHandler() a simple request handler that serves files from the current directory. http.server.BaseHTTPRequestHandler() base class for custom HTTP request handlers. HTTP Server Module belongs to the Concurrency & Networking group alongside Threading Module, Concurrent Module, Asyncio Module, Subprocess Module. You can also search across every category from the search page, browse the complete A–Z index, or try any example in the Python playground. Python Reference documents 978+ functions, methods, and modules across 114 categories of the standard library, and every entry in this HTTP Server Module category follows the same format — syntax first, then what it does, the parameters it accepts, what it returns, and a working code example — so once you have read one page you can read them all.