benjaminp / httpswatch

https://httpswatch.com
MIT License
99 stars 39 forks source link

handle connection errors and untrusted certificates #77

Closed fukawi2 closed 9 years ago

fukawi2 commented 9 years ago

I had issues with requests.get() throwing an exception if a certificate is not trusted.

Then while investigating that, I started getting Connection Reset errors from some other hosts.

So this handles both these scenarios.

benjaminp commented 9 years ago

Thanks for the PR. This has been dealt with in a slightly different way by pull request #78 and 96cb61b5cbdad67f5487653b7eecf8dfa0ef9213.