From 0215d09ca927096325ec470074b1dc608b9083ba Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Mon, 18 Jul 2011 07:12:40 +0800 Subject: Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response. --- Doc/library/urllib.request.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 65e94fb..acb6888 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 -- cgit v0.12