21. 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:
- 21.1.
webbrowserConvenient Web-browser controller - 21.2.
cgiCommon Gateway Interface support - 21.3.
cgitbTraceback manager for CGI scripts - 21.4.
wsgirefWSGI Utilities and Reference Implementation - 21.5.
urllibURL handling modules - 21.6.
urllib.requestExtensible library for opening URLs- 21.6.1. Request Objects
- 21.6.2. OpenerDirector Objects
- 21.6.3. BaseHandler Objects
- 21.6.4. HTTPRedirectHandler Objects
- 21.6.5. HTTPCookieProcessor Objects
- 21.6.6. ProxyHandler Objects
- 21.6.7. HTTPPasswordMgr Objects
- 21.6.8. HTTPPasswordMgrWithPriorAuth Objects
- 21.6.9. AbstractBasicAuthHandler Objects
- 21.6.10. HTTPBasicAuthHandler Objects
- 21.6.11. ProxyBasicAuthHandler Objects
- 21.6.12. AbstractDigestAuthHandler Objects
- 21.6.13. HTTPDigestAuthHandler Objects
- 21.6.14. ProxyDigestAuthHandler Objects
- 21.6.15. HTTPHandler Objects
- 21.6.16. HTTPSHandler Objects
- 21.6.17. FileHandler Objects
- 21.6.18. DataHandler Objects
- 21.6.19. FTPHandler Objects
- 21.6.20. CacheFTPHandler Objects
- 21.6.21. UnknownHandler Objects
- 21.6.22. HTTPErrorProcessor Objects
- 21.6.23. Examples
- 21.6.24. Legacy interface
- 21.6.25.
urllib.requestRestrictions
- 21.7.
urllib.responseResponse classes used by urllib - 21.8.
urllib.parseParse URLs into components - 21.9.
urllib.errorException classes raised by urllib.request - 21.10.
urllib.robotparserParser for robots.txt - 21.11.
httpHTTP modules - 21.12.
http.clientHTTP protocol client - 21.13.
ftplibFTP protocol client - 21.14.
poplibPOP3 protocol client - 21.15.
imaplibIMAP4 protocol client - 21.16.
nntplibNNTP protocol client - 21.17.
smtplibSMTP protocol client - 21.18.
smtpdSMTP Server - 21.19.
telnetlibTelnet client - 21.20.
uuidUUID objects according to RFC 4122 - 21.21.
socketserverA framework for network servers - 21.22.
http.serverHTTP servers - 21.23.
http.cookiesHTTP state management - 21.24.
http.cookiejarCookie handling for HTTP clients - 21.25.
xmlrpcXMLRPC server and client modules - 21.26.
xmlrpc.clientXML-RPC client access - 21.27.
xmlrpc.serverBasic XML-RPC servers - 21.28.
ipaddressIPv4/IPv6 manipulation library