http.server — Base Classes for Implementing Web Servers — PyMOTW 3

http.server 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.).

Read more…

This post is part of the Python Module of the Week series for Python 3. See for more articles from the series.