mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
SF patch #798255: Document httplib.HTTPResponse.read "amt" argument
(Contributed by Jeff Epler.)
This commit is contained in:
parent
3b9cff1ef5
commit
09c7b6075c
1 changed files with 2 additions and 2 deletions
|
@ -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}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue