mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	merge from 3.2 - Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
This commit is contained in:
		
						commit
						029b467963
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		| 
						 | 
					@ -931,7 +931,7 @@ UnknownHandler Objects
 | 
				
			||||||
HTTPErrorProcessor Objects
 | 
					HTTPErrorProcessor Objects
 | 
				
			||||||
--------------------------
 | 
					--------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. method:: HTTPErrorProcessor.unknown_open()
 | 
					.. method:: HTTPErrorProcessor.http_response()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   Process HTTP error responses.
 | 
					   Process HTTP error responses.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -943,6 +943,13 @@ HTTPErrorProcessor Objects
 | 
				
			||||||
   :exc:`HTTPError` if no other handler handles the error.
 | 
					   :exc:`HTTPError` if no other handler handles the error.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.. method:: HTTPErrorProcessor.https_response()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					   Process HTTPS error responses. 
 | 
				
			||||||
 | 
					   
 | 
				
			||||||
 | 
					   The behavior is same as :meth:`http_response`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. _urllib-request-examples:
 | 
					.. _urllib-request-examples:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Examples
 | 
					Examples
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue