summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libcgi.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-07 10:14:09 (GMT)
committerGuido van Rossum <guido@python.org>1995-03-07 10:14:09 (GMT)
commit6c4f003202bade83791c754cd94e28c1c2fb10fa (patch)
tree749a24c8924e8b4e717cf0267b1c93791f30d3f5 /Doc/lib/libcgi.tex
parentd01c100713ed5f4490300c16501407b86e789e5d (diff)
downloadcpython-6c4f003202bade83791c754cd94e28c1c2fb10fa.zip
cpython-6c4f003202bade83791c754cd94e28c1c2fb10fa.tar.gz
cpython-6c4f003202bade83791c754cd94e28c1c2fb10fa.tar.bz2
changes (suggested) by Soren Larsen
Diffstat (limited to 'Doc/lib/libcgi.tex')
-rw-r--r--Doc/lib/libcgi.tex8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/lib/libcgi.tex b/Doc/lib/libcgi.tex
index a5d1cdf..082a2a1 100644
--- a/Doc/lib/libcgi.tex
+++ b/Doc/lib/libcgi.tex
@@ -62,7 +62,9 @@ most once per script invocation, as it may consume standard input (if
the form was submitted through a POST request). The keys in the
resulting dictionary are the field names used in the submission; the
values are {\em lists} of the field values (since field name may be
-used multiple times in a single form). As a side effect, it sets
+used multiple times in a single form). \samp{\%} escapes in the
+values are translated to their single-character equivalent using
+\code{urllib.unquote()}. As a side effect, this function sets
\code{environ['QUERY_STRING']} to the raw query string, if it isn't
already set.
\end{funcdesc}
@@ -79,7 +81,9 @@ environment. This is mainly useful when debugging a CGI script.
\end{funcdesc}
\begin{funcdesc}{print_form}{form}
-Print a piece of HTML text showing the contents of the \var{form}.
+Print a piece of HTML text showing the contents of the \var{form} (a
+dictionary, an instance of the \code{FormContentDict} class defined
+below, or a subclass thereof).
This is mainly useful when debugging a CGI script.
\end{funcdesc}