cpython-withatomic / Doc / libwww.tex

The branch 'legacy-trunk' does not exist.
\chapter{Internet and WWW Services}
\nodename{Internet and WWW}
\index{World-Wide Web}

The modules described in this chapter provide various services to
World-Wide Web (WWW) clients and/or services, and a few modules
related to news and email.  They are all implemented in Python.  Some
of these modules require the presence of the system-dependent module
\code{sockets}, which is currently only fully supported on Unix and
Windows NT.  Here is an overview:


--- Common Gateway Interface, used to interpret forms in server-side

--- Open an arbitrary object given by URL (requires sockets).

--- HTTP protocol client (requires sockets).

--- FTP protocol client (requires sockets).

--- Gopher protocol client (requires sockets).

--- NNTP protocol client (requires sockets).

--- Parse a URL string into a tuple (addressing scheme identifier, network
location, path, parameters, query string, fragment identifier).

--- Only as much of an SGML parser as needed to parse HTML.

--- A parser for HTML documents.

--- A parser for XML documents.

--- Generic output formatter and device interface.

--- Parse RFC-822 style mail headers.

--- Tools for parsing MIME style message bodies.

--- Encode and decode files in binhex4 format.

--- Encode and decode files in uuencode format.

--- Tools for converting between binary and various ascii-encoded binary 

--- The External Data Representation Standard as described in RFC 1014,
written by Sun Microsystems, Inc. June 1987.

--- Mailcap file handling.  See RFC 1524.

--- Encode/decode binary files using the MIME base64 encoding.

--- Encode/decode binary files using the MIME quoted-printable encoding.

--- A framework for network servers.

--- Read various mailbox formats.

--- Mimification and unmimification of mail messages.