SF patch #798255: Document httplib.HTTPResponse.read "amt" argument

(Contributed by Jeff Epler.)
This commit is contained in:
Raymond Hettinger 2003-09-02 02:32:54 +00:00
parent 3b9cff1ef5
commit 09c7b6075c

View file

@ -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}}