Internet Protocols and Support¶
The modules described in this chapter implement internet protocols and support
for related technology. They are all implemented in Python. Most of these
modules require the presence of the system-dependent module socket, which
is currently supported on most popular platforms. Here is an overview:
webbrowserâ Convenient web-browser controllerwsgirefâ WSGI Utilities and Reference Implementationwsgiref.utilâ WSGI environment utilitieswsgiref.headersâ WSGI response header toolswsgiref.simple_serverâ a simple WSGI HTTP serverwsgiref.validateâ WSGI conformance checkerwsgiref.handlersâ server/gateway base classeswsgiref.typesâ WSGI types for static type checking- Examples
urllibâ URL handling modulesurllib.requestâ Extensible library for opening URLs- Request Objects
- OpenerDirector Objects
- BaseHandler Objects
- HTTPRedirectHandler Objects
- HTTPCookieProcessor Objects
- ProxyHandler Objects
- HTTPPasswordMgr Objects
- HTTPPasswordMgrWithPriorAuth Objects
- AbstractBasicAuthHandler Objects
- HTTPBasicAuthHandler Objects
- ProxyBasicAuthHandler Objects
- AbstractDigestAuthHandler Objects
- HTTPDigestAuthHandler Objects
- ProxyDigestAuthHandler Objects
- HTTPHandler Objects
- HTTPSHandler Objects
- FileHandler Objects
- DataHandler Objects
- FTPHandler Objects
- CacheFTPHandler Objects
- UnknownHandler Objects
- HTTPErrorProcessor Objects
- Examples
- Legacy interface
urllib.requestRestrictions
urllib.responseâ Response classes used by urlliburllib.parseâ Parse URLs into componentsurllib.errorâ Exception classes raised by urllib.requesturllib.robotparserâ Parser for robots.txthttpâ HTTP moduleshttp.clientâ HTTP protocol clientftplibâ FTP protocol clientpoplibâ POP3 protocol clientimaplibâ IMAP4 protocol clientsmtplibâ SMTP protocol clientuuidâ UUID objects according to RFC 9562socketserverâ A framework for network servershttp.serverâ HTTP servershttp.cookiesâ HTTP state managementhttp.cookiejarâ Cookie handling for HTTP clientsxmlrpcâ XMLRPC server and client modulesxmlrpc.clientâ XML-RPC client accessxmlrpc.serverâ Basic XML-RPC serversipaddressâ IPv4/IPv6 manipulation library