diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2013-03-18 21:11:41 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2013-03-18 21:11:41 (GMT) |
commit | 052ddb01b37287c43ef595f6c8381a5eeb1dcb79 (patch) | |
tree | 48d0bc88261ffd8597eb13a2d398efc187c2e808 /Doc/library/http.client.rst | |
parent | aad1d87339d1a310a58d71b812834ac9216a7e67 (diff) | |
download | cpython-052ddb01b37287c43ef595f6c8381a5eeb1dcb79.zip cpython-052ddb01b37287c43ef595f6c8381a5eeb1dcb79.tar.gz cpython-052ddb01b37287c43ef595f6c8381a5eeb1dcb79.tar.bz2 |
#17460: Remove the strict argument of HTTPConnection and removing the
DeprecationWarning being issued from 3.2 onwards.
Diffstat (limited to 'Doc/library/http.client.rst')
-rw-r--r-- | Doc/library/http.client.rst | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index 2d93aa4..c4c7617 100644 --- a/Doc/library/http.client.rst +++ b/Doc/library/http.client.rst @@ -27,7 +27,7 @@ HTTPS protocols. It is normally not used directly --- the module The module provides the following classes: -.. class:: HTTPConnection(host, port=None[, strict][, timeout], \ +.. class:: HTTPConnection(host, port=None[, timeout], \ source_address=None) An :class:`HTTPConnection` instance represents one transaction with an HTTP @@ -51,13 +51,9 @@ The module provides the following classes: .. versionchanged:: 3.2 *source_address* was added. - .. versionchanged:: 3.2 - The *strict* parameter is deprecated. HTTP 0.9-style "Simple Responses" - are not supported anymore. - .. class:: HTTPSConnection(host, port=None, key_file=None, \ - cert_file=None[, strict][, timeout], \ + cert_file=None[, timeout], \ source_address=None, *, context=None, \ check_hostname=None) @@ -89,20 +85,12 @@ The module provides the following classes: This class now supports HTTPS virtual hosts if possible (that is, if :data:`ssl.HAS_SNI` is true). - .. versionchanged:: 3.2 - The *strict* parameter is deprecated. HTTP 0.9-style "Simple Responses" - are not supported anymore. - -.. class:: HTTPResponse(sock, debuglevel=0[, strict], method=None, url=None) +.. class:: HTTPResponse(sock, debuglevel=0, method=None, url=None) Class whose instances are returned upon successful connection. Not instantiated directly by user. - .. versionchanged:: 3.2 - The *strict* parameter is deprecated. HTTP 0.9-style "Simple Responses" - are not supported anymore. - The following exceptions are raised as appropriate: |