@@ -1871,19 +1871,19 @@ async def connect(dsn=None, *,
1871
1871
returned by `ssl.create_default_context() <create_default_context_>`_
1872
1872
will be used. The value can also be one of the following strings:
1873
1873
1874
- - ``'disable'`` - SSL is disabled (equivalent to ``False``)
1875
- - ``'prefer'`` - try SSL first, fallback to non-SSL connection
1876
- if SSL connection fails
1877
- - ``'allow'`` - currently equivalent to ``'prefer'``
1878
- - ``'require'`` - only try an SSL connection. Certificate
1879
- verifiction errors are ignored
1880
- - ``'verify-ca'`` - only try an SSL connection, and verify
1881
- that the server certificate is issued by a trusted certificate
1882
- authority (CA)
1883
- - ``'verify-full'`` - only try an SSL connection, verify
1884
- that the server certificate is issued by a trusted CA and
1885
- that the requested server host name matches that in the
1886
- certificate.
1874
+ - ``'disable'`` - SSL is disabled (equivalent to ``False``)
1875
+ - ``'prefer'`` - try SSL first, fallback to non-SSL connection
1876
+ if SSL connection fails
1877
+ - ``'allow'`` - currently equivalent to ``'prefer'``
1878
+ - ``'require'`` - only try an SSL connection. Certificate
1879
+ verifiction errors are ignored
1880
+ - ``'verify-ca'`` - only try an SSL connection, and verify
1881
+ that the server certificate is issued by a trusted certificate
1882
+ authority (CA)
1883
+ - ``'verify-full'`` - only try an SSL connection, verify
1884
+ that the server certificate is issued by a trusted CA and
1885
+ that the requested server host name matches that in the
1886
+ certificate.
1887
1887
1888
1888
The default is ``'prefer'``: try an SSL connection and fallback to
1889
1889
non-SSL connection if that fails.
0 commit comments