mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
This commit is contained in:
parent
ed270fab64
commit
0215d09ca9
1 changed files with 8 additions and 1 deletions
|
|
@ -921,7 +921,7 @@ UnknownHandler Objects
|
|||
HTTPErrorProcessor Objects
|
||||
--------------------------
|
||||
|
||||
.. method:: HTTPErrorProcessor.unknown_open()
|
||||
.. method:: HTTPErrorProcessor.http_response()
|
||||
|
||||
Process HTTP error responses.
|
||||
|
||||
|
|
@ -933,6 +933,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue