summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.request.rst
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-07-17 23:13:21 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-07-17 23:13:21 (GMT)
commit029b4679639c3a39419330871a03b490cfe709ac (patch)
tree6e9387a163057198828752b99c2fd1b228847863 /Doc/library/urllib.request.rst
parent3121547f42a08e5a8c50eb87d7042209045e0816 (diff)
parent0215d09ca927096325ec470074b1dc608b9083ba (diff)
downloadcpython-029b4679639c3a39419330871a03b490cfe709ac.zip
cpython-029b4679639c3a39419330871a03b490cfe709ac.tar.gz
cpython-029b4679639c3a39419330871a03b490cfe709ac.tar.bz2
merge from 3.2 - Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
Diffstat (limited to 'Doc/library/urllib.request.rst')
-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 c3a0a43..95bfa89 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -931,7 +931,7 @@ UnknownHandler Objects
HTTPErrorProcessor Objects
--------------------------
-.. method:: HTTPErrorProcessor.unknown_open()
+.. method:: HTTPErrorProcessor.http_response()
Process HTTP error responses.
@@ -943,6 +943,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