diff options
author | Christian Heimes <christian@python.org> | 2020-11-13 15:37:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 15:37:52 (GMT) |
commit | f97406be4c0a02c1501c7ab8bc8ef3850eddb962 (patch) | |
tree | 9fe83b52d120269d64fec6e877bb9576124bbd57 /Doc/library/urllib.request.rst | |
parent | 09490a109faaee9cc393b52742a8575c116c56ba (diff) | |
download | cpython-f97406be4c0a02c1501c7ab8bc8ef3850eddb962.zip cpython-f97406be4c0a02c1501c7ab8bc8ef3850eddb962.tar.gz cpython-f97406be4c0a02c1501c7ab8bc8ef3850eddb962.tar.bz2 |
bpo-40968: Send http/1.1 ALPN extension (#20959)
Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Doc/library/urllib.request.rst')
-rw-r--r-- | Doc/library/urllib.request.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index b37f230..b4435a6 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -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*. |