diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2011-07-17 23:13:21 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2011-07-17 23:13:21 (GMT) |
commit | 029b4679639c3a39419330871a03b490cfe709ac (patch) | |
tree | 6e9387a163057198828752b99c2fd1b228847863 /Doc/library | |
parent | 3121547f42a08e5a8c50eb87d7042209045e0816 (diff) | |
parent | 0215d09ca927096325ec470074b1dc608b9083ba (diff) | |
download | cpython-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')
-rw-r--r-- | Doc/library/urllib.request.rst | 9 |
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 |