mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-40968: Send http/1.1 ALPN extension (#20959)
Signed-off-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
09490a109f
commit
f97406be4c
5 changed files with 17 additions and 0 deletions
|
@ -109,6 +109,11 @@ The :mod:`urllib.request` module defines the following functions:
|
|||
.. versionchanged:: 3.4.3
|
||||
*context* was added.
|
||||
|
||||
.. versionchanged:: 3.10
|
||||
HTTPS connection now send an ALPN extension with protocol indicator
|
||||
``http/1.1`` when no *context* is given. Custom *context* should set
|
||||
ALPN protocols with :meth:`~ssl.SSLContext.set_alpn_protocol`.
|
||||
|
||||
.. deprecated:: 3.6
|
||||
|
||||
*cafile*, *capath* and *cadefault* are deprecated in favor of *context*.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue