diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2011-07-18 07:16:02 +0800 |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2011-07-18 07:16:02 +0800 |
commit | a2dd57aaf1848730ede846edf492d7a161c2d7b7 (patch) | |
tree | 28f066a6e9c9494953af208440fbb0374468af30 | |
parent | 612b2b338b333f42557c0c83fedb7ad685a1d829 (diff) | |
download | cpython-git-a2dd57aaf1848730ede846edf492d7a161c2d7b7.tar.gz |
merge from 3.2 - Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
-rw-r--r-- | Doc/library/urllib2.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/library/urllib2.rst b/Doc/library/urllib2.rst index f81750e81c..79113b0da7 100644 --- a/Doc/library/urllib2.rst +++ b/Doc/library/urllib2.rst @@ -886,7 +886,7 @@ HTTPErrorProcessor Objects .. versionadded:: 2.4 -.. method:: HTTPErrorProcessor.unknown_open() +.. method:: HTTPErrorProcessor.http_response() Process HTTP error responses. @@ -898,6 +898,12 @@ HTTPErrorProcessor Objects :class:`urllib2.HTTPDefaultErrorHandler` will raise an :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`. + .. _urllib2-examples: |