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.
This commit is contained in:
Serhiy Storchaka 2022-08-04 10:13:49 +03:00 committed by GitHub
parent bcc74d509a
commit f79547a429
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 72 additions and 72 deletions

View file

@ -226,7 +226,7 @@ Basic Usage
*object_hook* is an optional function that will be called with the result of
any object literal decoded (a :class:`dict`). The return value of
*object_hook* will be used instead of the :class:`dict`. This feature can be used
to implement custom decoders (e.g. `JSON-RPC <http://www.jsonrpc.org>`_
to implement custom decoders (e.g. `JSON-RPC <https://www.jsonrpc.org>`_
class hinting).
*object_pairs_hook* is an optional function that will be called with the
@ -326,7 +326,7 @@ Encoders and Decoders
*object_hook*, if specified, will be called with the result of every JSON
object decoded and its return value will be used in place of the given
:class:`dict`. This can be used to provide custom deserializations (e.g. to
support `JSON-RPC <http://www.jsonrpc.org>`_ class hinting).
support `JSON-RPC <https://www.jsonrpc.org>`_ class hinting).
*object_pairs_hook*, if specified will be called with the result of every
JSON object decoded with an ordered list of pairs. The return value of