]> granicus.if.org Git - python/commitdiff
Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
authorSenthil Kumaran <senthil@uthcode.com>
Sun, 17 Jul 2011 23:12:40 +0000 (07:12 +0800)
committerSenthil Kumaran <senthil@uthcode.com>
Sun, 17 Jul 2011 23:12:40 +0000 (07:12 +0800)
Doc/library/urllib.request.rst

index 65e94fb050adcf5db7cbdc64aa1186f6d2959f76..acb6888bb699247d9ad85fd06d7aed0002f99643 100644 (file)
@@ -921,7 +921,7 @@ UnknownHandler Objects
 HTTPErrorProcessor Objects
 --------------------------
 
-.. method:: HTTPErrorProcessor.unknown_open()
+.. method:: HTTPErrorProcessor.http_response()
 
    Process HTTP error responses.
 
@@ -933,6 +933,13 @@ HTTPErrorProcessor Objects
    :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:
 
 Examples