mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +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:
 | 
					\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}}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue