1 \chapter{Internet and WWW Services
}
2 \nodename{Internet and WWW
}
8 The modules described in this chapter provide various services to
9 World-Wide Web (WWW) clients and/or services, and a few modules
10 related to news and email. They are all implemented in Python. Some
11 of these modules require the presence of the system-dependent module
12 \code{sockets
}\refbimodindex{socket
}, which is currently only fully
13 supported on
\UNIX{} and Windows NT. Here is an overview:
18 --- Common Gateway Interface, used to interpret forms in server-side
22 --- Open an arbitrary object given by URL (requires sockets).
25 --- HTTP protocol client (requires sockets).
28 --- FTP protocol client (requires sockets).
31 --- Gopher protocol client (requires sockets).
34 --- IMAP4 protocol client (requires sockets).
37 --- NNTP protocol client (requires sockets).
40 --- Parse a URL string into a tuple (addressing scheme identifier, network
41 location, path, parameters, query string, fragment identifier).
44 --- Only as much of an SGML parser as needed to parse HTML.
47 --- A parser for HTML documents.
50 --- A parser for XML documents.
53 --- Generic output formatter and device interface.
56 --- Parse
\rfc{822} style mail headers.
59 --- Tools for parsing MIME style message bodies.
62 --- Encode and decode files in binhex4 format.
65 --- Encode and decode files in uuencode format.
68 --- Tools for converting between binary and various ascii-encoded binary
72 --- The External Data Representation Standard as described in
\rfc{1014},
73 written by Sun Microsystems, Inc. June
1987.
76 --- Mailcap file handling. See
\rfc{1524}.
79 --- Encode/decode binary files using the MIME base64 encoding.
82 --- Encode/decode binary files using the MIME quoted-printable encoding.
85 --- A framework for network servers.
88 --- Read various mailbox formats.
91 --- Mimification and unmimification of mail messages.
94 --- Basic HTTP server (base class for SimpleHTTPServer and CGIHTTPServer).