mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
#17460 - merge from 3.3
This commit is contained in:
commit
aced69fd3f
1 changed files with 12 additions and 0 deletions
|
|
@ -51,6 +51,10 @@ The module provides the following classes:
|
||||||
.. versionchanged:: 3.2
|
.. versionchanged:: 3.2
|
||||||
*source_address* was added.
|
*source_address* was added.
|
||||||
|
|
||||||
|
.. versionchanged:: 3.4
|
||||||
|
The *strict* parameter is removed. HTTP 0.9-style "Simple Responses" are
|
||||||
|
not supported.
|
||||||
|
|
||||||
|
|
||||||
.. class:: HTTPSConnection(host, port=None, key_file=None, \
|
.. class:: HTTPSConnection(host, port=None, key_file=None, \
|
||||||
cert_file=None[, timeout], \
|
cert_file=None[, timeout], \
|
||||||
|
|
@ -85,12 +89,20 @@ The module provides the following classes:
|
||||||
This class now supports HTTPS virtual hosts if possible (that is,
|
This class now supports HTTPS virtual hosts if possible (that is,
|
||||||
if :data:`ssl.HAS_SNI` is true).
|
if :data:`ssl.HAS_SNI` is true).
|
||||||
|
|
||||||
|
.. versionchanged:: 3.4
|
||||||
|
The *strict* parameter is removed. HTTP 0.9-style "Simple Responses" are
|
||||||
|
not supported anymore.
|
||||||
|
|
||||||
|
|
||||||
.. class:: HTTPResponse(sock, debuglevel=0, method=None, url=None)
|
.. class:: HTTPResponse(sock, debuglevel=0, method=None, url=None)
|
||||||
|
|
||||||
Class whose instances are returned upon successful connection. Not
|
Class whose instances are returned upon successful connection. Not
|
||||||
instantiated directly by user.
|
instantiated directly by user.
|
||||||
|
|
||||||
|
.. versionchanged:: 3.4
|
||||||
|
The *strict* parameter is removed. HTTP 0.9 style "Simple Responses" are
|
||||||
|
not supported anymore.
|
||||||
|
|
||||||
|
|
||||||
The following exceptions are raised as appropriate:
|
The following exceptions are raised as appropriate:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue