Commit 09c7b607 authored by Raymond Hettinger's avatar Raymond Hettinger

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

(Contributed by Jeff Epler.)
parent 3b9cff1e
...@@ -197,8 +197,8 @@ Send a blank line to the server, signalling the end of the headers. ...@@ -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: \class{HTTPResponse} instances have the following methods and attributes:
\begin{methoddesc}{read}{} \begin{methoddesc}{read}{\optional{amt}}
Reads and returns the response body. Reads and returns the response body, or up to the next \var{amt} bytes.
\end{methoddesc} \end{methoddesc}
\begin{methoddesc}{getheader}{name\optional{, default}} \begin{methoddesc}{getheader}{name\optional{, default}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment