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:
webbrowserConvenient web-browser controllerwsgirefWSGI Utilities and Reference ImplementationurllibURL handling modulesurllib.requestExtensible 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.responseResponse classes used by urlliburllib.parseParse URLs into componentsurllib.errorException classes raised by urllib.requesturllib.robotparserParser for robots.txthttpHTTP moduleshttp.clientHTTP protocol clientftplibFTP protocol clientpoplibPOP3 protocol clientimaplibIMAP4 protocol clientsmtplibSMTP protocol clientuuidUUID objects according to RFC 9562socketserverA framework for network servershttp.serverHTTP servershttp.cookiesHTTP state managementhttp.cookiejarCookie handling for HTTP clientsxmlrpcXMLRPC server and client modulesxmlrpc.clientXML-RPC client accessxmlrpc.serverBasic XML-RPC serversipaddressIPv4/IPv6 manipulation library