From 09c7b6075cf51d5438c76a19ad244b663d4cf048 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 2 Sep 2003 02:32:54 +0000 Subject: SF patch #798255: Document httplib.HTTPResponse.read "amt" argument (Contributed by Jeff Epler.) --- Doc/lib/libhttplib.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/lib/libhttplib.tex b/Doc/lib/libhttplib.tex index 59e6428..50b4cf2 100644 --- a/Doc/lib/libhttplib.tex +++ b/Doc/lib/libhttplib.tex @@ -197,8 +197,8 @@ Send a blank line to the server, signalling the end of the headers. \class{HTTPResponse} instances have the following methods and attributes: -\begin{methoddesc}{read}{} -Reads and returns the response body. +\begin{methoddesc}{read}{\optional{amt}} +Reads and returns the response body, or up to the next \var{amt} bytes. \end{methoddesc} \begin{methoddesc}{getheader}{name\optional{, default}} -- cgit v0.12