summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libwww.tex
blob: 8cfc09d31e8db9b2db89d9143514eb1f026efdf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
\chapter{Internet and WWW Services}
\nodename{Internet and WWW}
\index{WWW}
\index{Internet}
\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}\refbimodindex{socket}, which is currently only fully
supported on \UNIX{} and Windows NT.  Here is an overview:

\begin{description}

\item[cgi]
--- Common Gateway Interface, used to interpret forms in server-side
scripts.

\item[urllib]
--- Open an arbitrary object given by URL (requires sockets).

\item[httplib]
--- HTTP protocol client (requires sockets).

\item[ftplib]
--- FTP protocol client (requires sockets).

\item[gopherlib]
--- Gopher protocol client (requires sockets).

\item[nntplib]
--- NNTP protocol client (requires sockets).

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

\item[sgmllib]
--- Only as much of an SGML parser as needed to parse HTML.

\item[htmllib]
--- A parser for HTML documents.

\item[xmllib]
--- A parser for XML documents.

\item[formatter]
--- Generic output formatter and device interface.

\item[rfc822]
--- Parse RFC-822 style mail headers.

\item[mimetools]
--- Tools for parsing MIME style message bodies.

\item[binhex]
--- Encode and decode files in binhex4 format.

\item[uu]
--- Encode and decode files in uuencode format.

\item[binascii]
--- Tools for converting between binary and various ascii-encoded binary 
representation

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

\item[mailcap]
--- Mailcap file handling.  See RFC 1524.

\item[base64]
--- Encode/decode binary files using the MIME base64 encoding.

\item[quopri]
--- Encode/decode binary files using the MIME quoted-printable encoding.

\item[SocketServer]
--- A framework for network servers.

\item[mailbox]
--- Read various mailbox formats.

\item[mimify]
--- Mimification and unmimification of mail messages.

\item[BaseHTTPServer]
--- Basic HTTP server (base class for SimpleHTTPServer and CGIHTTPServer).

\end{description}