diff options
| author | Georg Brandl <georg@python.org> | 2006-02-17 19:17:25 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2006-02-17 19:17:25 +0000 |
| commit | 1f062627663ece0db86982039e254756ad6801f8 (patch) | |
| tree | 454bc2996a5cb97740b5ec1be6c1501b17de67b7 /Doc/lib/libhttplib.tex | |
| parent | 85065935ef79f5757e70c0acbe6759438ecc530c (diff) | |
| download | cpython-1f062627663ece0db86982039e254756ad6801f8.tar.gz | |
Move "httpresponses" dict from urllib2 to httplib where it belongs.
Diffstat (limited to 'Doc/lib/libhttplib.tex')
| -rw-r--r-- | Doc/lib/libhttplib.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/lib/libhttplib.tex b/Doc/lib/libhttplib.tex index 8f02368e22..049f6c4804 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: |
