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