summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-07-18 07:12:40 +0800
committerSenthil Kumaran <senthil@uthcode.com>2011-07-18 07:12:40 +0800
commit0215d09ca927096325ec470074b1dc608b9083ba (patch)
tree8d1cfa2a8f5933a2bdb44f90a0d01b1c3864d726 /Doc
parented270fab649c8b2a454c3aaa0c3702d50b9ff127 (diff)
downloadcpython-git-0215d09ca927096325ec470074b1dc608b9083ba.tar.gz
Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/urllib.request.rst9
1 files changed, 8 insertions, 1 deletions
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