Skip to content

Commit

Permalink
Enable "ignore_ssl_errors" in "download" method
Browse files Browse the repository at this point in the history
Fix a issue that appears when you try to download from a https url and
the SSL certificate has errors.
  • Loading branch information
ferxts committed Feb 2, 2014
1 parent 79ac5bb commit bd9cc08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/spynner/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1386,6 +1386,7 @@ def _on_reply(reply):
# Create a new manager to process this download
manager = NManager.new(self)
manager.set_proxy(proxy_url)
manager.sslErrors.connect(self._on_manager_ssl_errors)
reply = manager.get(request)
itime = time.time()
if reply.error():
Expand Down

0 comments on commit bd9cc08

Please sign in to comment.