summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-07-17 23:12:40 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-07-17 23:12:40 (GMT)
commit0215d09ca927096325ec470074b1dc608b9083ba (patch)
tree8d1cfa2a8f5933a2bdb44f90a0d01b1c3864d726 /Doc/library
parented270fab649c8b2a454c3aaa0c3702d50b9ff127 (diff)
downloadcpython-0215d09ca927096325ec470074b1dc608b9083ba.zip
cpython-0215d09ca927096325ec470074b1dc608b9083ba.tar.gz
cpython-0215d09ca927096325ec470074b1dc608b9083ba.tar.bz2
Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
Diffstat (limited to 'Doc/library')
-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 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