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.2.1. Introduction
- 20.2.2. Using the cgi module
- 20.2.3. Higher Level Interface
- 20.2.4. Old classes
- 20.2.5. Functions
- 20.2.6. Caring about security
- 20.2.7. Installing your CGI script on a Unix system
- 20.2.8. Testing your CGI script
- 20.2.9. Debugging CGI scripts
- 20.2.10. Common problems and solutions
- 20.3.
cgitbβ Traceback manager for CGI scripts - 20.4.
wsgirefβ WSGI Utilities and Reference Implementation - 20.5.
urllibβ Open arbitrary resources by URL - 20.6.
urllib2β extensible library for opening URLs- 20.6.1. Request Objects
- 20.6.2. OpenerDirector Objects
- 20.6.3. BaseHandler Objects
- 20.6.4. HTTPRedirectHandler Objects
- 20.6.5. HTTPCookieProcessor Objects
- 20.6.6. ProxyHandler Objects
- 20.6.7. HTTPPasswordMgr Objects
- 20.6.8. AbstractBasicAuthHandler Objects
- 20.6.9. HTTPBasicAuthHandler Objects
- 20.6.10. ProxyBasicAuthHandler Objects
- 20.6.11. AbstractDigestAuthHandler Objects
- 20.6.12. HTTPDigestAuthHandler Objects
- 20.6.13. ProxyDigestAuthHandler Objects
- 20.6.14. HTTPHandler Objects
- 20.6.15. HTTPSHandler Objects
- 20.6.16. FileHandler Objects
- 20.6.17. FTPHandler Objects
- 20.6.18. CacheFTPHandler Objects
- 20.6.19. UnknownHandler Objects
- 20.6.20. HTTPErrorProcessor Objects
- 20.6.21. Examples
- 20.7.
httplibβ HTTP protocol client - 20.8.
ftplibβ FTP protocol client - 20.9.
poplibβ POP3 protocol client - 20.10.
imaplibβ IMAP4 protocol client - 20.11.
nntplibβ NNTP protocol client - 20.12.
smtplibβ SMTP protocol client - 20.13.
smtpdβ SMTP Server - 20.14.
telnetlibβ Telnet client - 20.15.
uuidβ UUID objects according to RFC 4122 - 20.16.
urlparseβ Parse URLs into components - 20.17.
SocketServerβ A framework for network servers - 20.18.
BaseHTTPServerβ Basic HTTP server - 20.19.
SimpleHTTPServerβ Simple HTTP request handler - 20.20.
CGIHTTPServerβ CGI-capable HTTP request handler - 20.21.
cookielibβ Cookie handling for HTTP clients - 20.22.
Cookieβ HTTP state management - 20.23.
xmlrpclibβ XML-RPC client access - 20.24.
SimpleXMLRPCServerβ Basic XML-RPC server - 20.25.
DocXMLRPCServerβ Self-documenting XML-RPC server
