Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 18d9e1d

Browse files
committed
Minor update due to reported (debug) problems with SSLv23
1 parent a944028 commit 18d9e1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/request/httpshandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
except ImportError:
2020
pass
2121

22-
_protocols = [ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_TLSv1]
22+
_protocols = [ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_SSLv23]
2323

2424
class HTTPSConnection(httplib.HTTPSConnection):
2525
"""

0 commit comments

Comments
 (0)