diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2022-08-04 07:13:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 07:13:49 (GMT) |
commit | f79547a429d5c90af83a0da821e082cba20d4712 (patch) | |
tree | 529f0f5c398d524e7ae54685fb22100ab2914b8f /Doc/library/http.client.rst | |
parent | bcc74d509a3bd7e4fdc658179ae6d77614d1fd36 (diff) | |
download | cpython-f79547a429d5c90af83a0da821e082cba20d4712.zip cpython-f79547a429d5c90af83a0da821e082cba20d4712.tar.gz cpython-f79547a429d5c90af83a0da821e082cba20d4712.tar.bz2 |
gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527)
If an HTTP link is redirected to a same looking HTTPS link, the latter can
be used directly without changes in readability and behavior.
It protects from a men-in-the-middle attack.
This change does not affect Python examples.
Diffstat (limited to 'Doc/library/http.client.rst')
-rw-r--r-- | Doc/library/http.client.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index 8bb3187..16823ec 100644 --- a/Doc/library/http.client.rst +++ b/Doc/library/http.client.rst @@ -591,7 +591,7 @@ Here is an example session that shows how to ``POST`` requests:: 302 Found >>> data = response.read() >>> data - b'Redirecting to <a href="http://bugs.python.org/issue12524">http://bugs.python.org/issue12524</a>' + b'Redirecting to <a href="https://bugs.python.org/issue12524">https://bugs.python.org/issue12524</a>' >>> conn.close() Client side ``HTTP PUT`` requests are very similar to ``POST`` requests. The |