PyMOTW: BaseHTTPServer
Originally posted
· 1 min read
BaseHTTPServer
uses classes from SocketServer
to create base classes for making HTTP servers. HTTPServer
can be used directly, but the BaseHTTPRequestHandler
is intended to be extended to handle each protocol method (GET, POST, etc.).