[Python-checkins] cpython (merge 3.2 -> default): merge from 3.2 - Fix closes Issue12478 - HTTPErrorProcess 's methods are

senthil.kumaran python-checkins at python.org
Mon Jul 18 01:19:11 CEST 2011


http://hg.python.org/cpython/rev/04541e33364d
changeset:   71392:04541e33364d
parent:      71389:b2125a6deb96
parent:      71391:70983e8b114a
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Mon Jul 18 07:13:21 2011 +0800
summary:
  merge from 3.2 - Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.

files:
  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
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -931,7 +931,7 @@
 HTTPErrorProcessor Objects
 --------------------------
 
-.. method:: HTTPErrorProcessor.unknown_open()
+.. method:: HTTPErrorProcessor.http_response()
 
    Process HTTP error responses.
 
@@ -943,6 +943,13 @@
    :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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list