summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-08-18 12:46:26 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-08-18 12:46:26 (GMT)
commitdeacce2c8799c3aa5adfdc4263cc5bf1e933867e (patch)
tree7e1faf8637a0f77b317b72ba28b4835d3a8fb68b /Doc/lib
parentc473c99d16b43544fffcc8a33fbc61c95061b088 (diff)
downloadcpython-deacce2c8799c3aa5adfdc4263cc5bf1e933867e.zip
cpython-deacce2c8799c3aa5adfdc4263cc5bf1e933867e.tar.gz
cpython-deacce2c8799c3aa5adfdc4263cc5bf1e933867e.tar.bz2
Patch #800236: add HTTPResponse.getheaders().
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libhttplib.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/lib/libhttplib.tex b/Doc/lib/libhttplib.tex
index 8badc71..60fd7b1 100644
--- a/Doc/lib/libhttplib.tex
+++ b/Doc/lib/libhttplib.tex
@@ -211,6 +211,10 @@ Get the contents of the header \var{name}, or \var{default} if there is no
matching header.
\end{methoddesc}
+\begin{methoddesc}{getheaders}{}
+Return a list of (header, value) tuples. \versionadded{2.4}
+\end{methoddesc}
+
\begin{datadesc}{msg}
A \class{mimetools.Message} instance containing the response headers.
\end{datadesc}