Commit 0215d09c authored by Senthil Kumaran's avatar Senthil Kumaran

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

parent ed270fab
...@@ -921,7 +921,7 @@ UnknownHandler Objects ...@@ -921,7 +921,7 @@ UnknownHandler Objects
HTTPErrorProcessor Objects HTTPErrorProcessor Objects
-------------------------- --------------------------
.. method:: HTTPErrorProcessor.unknown_open() .. method:: HTTPErrorProcessor.http_response()
Process HTTP error responses. Process HTTP error responses.
...@@ -933,6 +933,13 @@ HTTPErrorProcessor Objects ...@@ -933,6 +933,13 @@ HTTPErrorProcessor Objects
:exc:`HTTPError` if no other handler handles the error. :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: .. _urllib-request-examples:
Examples Examples
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment