File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -826,9 +826,7 @@ def default_retry_policy(self, policy):
826
826
827
827
In addition to ``wrap_socket`` kwargs, clients may also specify ``'check_hostname': True`` to verify the cert hostname
828
828
as outlined in RFC 2818 and RFC 6125. Note that this requires the certificate to be transferred, so
829
- should almost always require the option ``'cert_reqs': ssl.CERT_REQUIRED``. Note also that this functionality was not built into
830
- Python standard library until (2.7.9, 3.2). To enable this mechanism in earlier versions, patch ``ssl.match_hostname``
831
- with a custom or `back-ported function <https://pypi.org/project/backports.ssl_match_hostname/>`_.
829
+ should almost always require the option ``'cert_reqs': ssl.CERT_REQUIRED``.
832
830
"""
833
831
834
832
ssl_context = None
You can’t perform that action at this time.
0 commit comments