summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libhttplib.tex
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-02-17 19:17:25 (GMT)
committerGeorg Brandl <georg@python.org>2006-02-17 19:17:25 (GMT)
commit6aab16e9f6df06ab68f24422dcc50579f500c0b7 (patch)
tree923ad5c91ac916fbd6c5894ae863ea4f8cec48e0 /Doc/lib/libhttplib.tex
parentdde99d2633d7d744730d4464521e936bf1b6b411 (diff)
downloadcpython-6aab16e9f6df06ab68f24422dcc50579f500c0b7.zip
cpython-6aab16e9f6df06ab68f24422dcc50579f500c0b7.tar.gz
cpython-6aab16e9f6df06ab68f24422dcc50579f500c0b7.tar.bz2
Move "httpresponses" dict from urllib2 to httplib where it belongs.
Diffstat (limited to 'Doc/lib/libhttplib.tex')
-rw-r--r--Doc/lib/libhttplib.tex8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/lib/libhttplib.tex b/Doc/lib/libhttplib.tex
index 8f02368..049f6c4 100644
--- a/Doc/lib/libhttplib.tex
+++ b/Doc/lib/libhttplib.tex
@@ -288,6 +288,14 @@ and also the following constants for integer status codes:
{An HTTP Extension Framework, \rfc{2774}, Section 7}
\end{tableiii}
+\begin{datadesc}{responses}
+This dictionary maps the HTTP 1.1 status codes to the W3C names.
+
+Example: \code{httplib.responses[httplib.NOT_FOUND]} is \code{'Not Found'}.
+\versionadded{2.5}
+\end{datadesc}
+
+
\subsection{HTTPConnection Objects \label{httpconnection-objects}}
\class{HTTPConnection} instances have the following methods: