jassa/hidemyass — pull request #4 by petergoldstein (2014-04-10 20:01:21+00:00)
Title: Only mark GET requests as successful if the return code is ok

We were seeing cases where the Typhoeus request would return a status code of 200, but the return code indicated a problem had occurred (typically a timeout). In this case the response body was incomplete, which means the response should have been treated as a failure for our purposes.

We made minor changes to the response logic to test for this scenario. We are running with this change in production and not seeing any issues. It resolved the observed problem.