HTTP (Python HTTP Libraries)
Introduction
httpis a package that collects several modules for working with the HyperText Transfer Protocol:
http.clientis a low-level HTTP protocol client; for high-level URL opening use urllib.requesthttp.servercontains basic HTTP server classes based onsocketserver- http.cookies has utilities for implementing state management with cookies
http.cookiejarprovides persistence of cookies
This is the standard low-level way to work with HTTP in Python. When using this library or any of its derivatives, it's important to remember the principles of the Client-Server Architecture.