abusesa / abusehelper

A framework for receiving and redistributing abuse feeds
MIT License
118 stars 18 forks source link

Improve fetch_url() #93

Closed mseppanen closed 7 years ago

mseppanen commented 7 years ago

Use ssl.create_defaut_context() when available (Python 2.7.9 or newer). This enables SNI support and tries to choose reasonable secure protocol an cipher settings.

Fixes #90.