Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit c6ae836

Browse files
committed
Prefer PROTOCOL_SSLv23 to PROTOCOL_TLSv1_2.
1 parent 2453eb3 commit c6ae836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/advanced.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ You can change how certificates are verified by passing your own
7777
For example, this will disable verification altogether::
7878

7979
import ssl
80-
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
80+
context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
8181
conn = HTTPConnection('http2bin.org:443', ssl_context=context)
8282

8383
Streaming Uploads

0 commit comments

Comments
 (0)