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

Skip to content

Commit 4da2067

Browse files
committed
Update httpshandler.py
ssl.PROTOCOL_SSLv3 removed affecting error: AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
1 parent 80b9fc4 commit 4da2067

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_SSLv3, ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_SSLv23]
22+
_protocols = [ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_SSLv23]
2323

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

0 commit comments

Comments
 (0)