mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 18:28:49 +00:00 
			
		
		
		
	Fix Issue8572 - httplib getheader() throws error instead of default
This commit is contained in:
		
							parent
							
								
									aed05eb6b8
								
							
						
					
					
						commit
						9f8dc4441f
					
				
					 3 changed files with 45 additions and 3 deletions
				
			
		|  | @ -466,7 +466,8 @@ statement. | |||
| .. method:: HTTPResponse.getheader(name, default=None) | ||||
| 
 | ||||
|    Get the contents of the header *name*, or *default* if there is no matching | ||||
|    header. | ||||
|    header. If *default* is an iterator other than a string, then the return | ||||
|    value will be a string consisting of items of the iterator joined by comma. | ||||
| 
 | ||||
| 
 | ||||
| .. method:: HTTPResponse.getheaders() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Senthil Kumaran
						Senthil Kumaran