Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 09c7b60

Browse files
committed
SF patch #798255: Document httplib.HTTPResponse.read "amt" argument
(Contributed by Jeff Epler.)
1 parent 3b9cff1 commit 09c7b60

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/lib/libhttplib.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ \subsection{HTTPResponse Objects \label{httpresponse-objects}}
197197

198198
\class{HTTPResponse} instances have the following methods and attributes:
199199

200-
\begin{methoddesc}{read}{}
201-
Reads and returns the response body.
200+
\begin{methoddesc}{read}{\optional{amt}}
201+
Reads and returns the response body, or up to the next \var{amt} bytes.
202202
\end{methoddesc}
203203

204204
\begin{methoddesc}{getheader}{name\optional{, default}}

0 commit comments

Comments
 (0)