merge from 3.2 - Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.

This commit is contained in:
Senthil Kumaran 2011-07-18 07:16:02 +08:00
parent 612b2b338b
commit a2dd57aaf1
1 changed files with 7 additions and 1 deletions

View File

@ -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: