20. 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:
- 20.1. webbrowser — Convenient Web-browser controller
- 20.2. cgi — Common Gateway Interface support
- 20.3. cgitb — Traceback manager for CGI scripts
- 20.4. wsgiref — WSGI Utilities and Reference Implementation
- 20.5. urllib.request — Extensible library for opening URLs
- 20.5.1. Request Objects
- 20.5.2. OpenerDirector Objects
- 20.5.3. BaseHandler Objects
- 20.5.4. HTTPRedirectHandler Objects
- 20.5.5. HTTPCookieProcessor Objects
- 20.5.6. ProxyHandler Objects
- 20.5.7. HTTPPasswordMgr Objects
- 20.5.8. AbstractBasicAuthHandler Objects
- 20.5.9. HTTPBasicAuthHandler Objects
- 20.5.10. ProxyBasicAuthHandler Objects
- 20.5.11. AbstractDigestAuthHandler Objects
- 20.5.12. HTTPDigestAuthHandler Objects
- 20.5.13. ProxyDigestAuthHandler Objects
- 20.5.14. HTTPHandler Objects
- 20.5.15. HTTPSHandler Objects
- 20.5.16. FileHandler Objects
- 20.5.17. FTPHandler Objects
- 20.5.18. CacheFTPHandler Objects
- 20.5.19. UnknownHandler Objects
- 20.5.20. HTTPErrorProcessor Objects
- 20.5.21. Examples
- 20.5.22. Legacy interface
- 20.5.23. urllib.request Restrictions
- 20.6. urllib.response — Response classes used by urllib
- 20.7. urllib.parse — Parse URLs into components
- 20.8. urllib.error — Exception classes raised by urllib.request
- 20.9. urllib.robotparser — Parser for robots.txt
- 20.10. http.client — HTTP protocol client
- 20.11. ftplib — FTP protocol client
- 20.12. poplib — POP3 protocol client
- 20.13. imaplib — IMAP4 protocol client
- 20.14. nntplib — NNTP protocol client
- 20.15. smtplib — SMTP protocol client
- 20.16. smtpd — SMTP Server
- 20.17. telnetlib — Telnet client
- 20.18. uuid — UUID objects according to RFC 4122
- 20.19. socketserver — A framework for network servers
- 20.20. http.server — HTTP servers
- 20.21. http.cookies — HTTP state management
- 20.22. http.cookiejar — Cookie handling for HTTP clients
- 20.23. xmlrpc.client — XML-RPC client access
- 20.24. xmlrpc.server — Basic XML-RPC servers