]> granicus.if.org Git - python/commitdiff
merge from 3.2 - Fix closes Issue12478 - HTTPErrorProcess 's methods are http_respons...
authorSenthil Kumaran <senthil@uthcode.com>
Sun, 17 Jul 2011 23:16:02 +0000 (07:16 +0800)
committerSenthil Kumaran <senthil@uthcode.com>
Sun, 17 Jul 2011 23:16:02 +0000 (07:16 +0800)
Doc/library/urllib2.rst

index f81750e81c20f3b772806550d674154f5279cbb9..79113b0da7943b54b282436f4b2852db4984b829 100644 (file)
@@ -886,7 +886,7 @@ HTTPErrorProcessor Objects
 .. versionadded:: 2.4
 
 
-.. method:: HTTPErrorProcessor.unknown_open()
+.. method:: HTTPErrorProcessor.http_response()
 
    Process HTTP error responses.
 
@@ -898,6 +898,12 @@ HTTPErrorProcessor Objects
    :class:`urllib2.HTTPDefaultErrorHandler` will raise an :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`.
+
 
 .. _urllib2-examples: