From: Senthil Kumaran Date: Sun, 17 Jul 2011 23:12:40 +0000 (+0800) Subject: Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response. X-Git-Tag: v3.2.2rc1~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0215d09ca927096325ec470074b1dc608b9083ba;p=python Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response. --- diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 65e94fb050..acb6888bb6 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -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