oetiker/SmokePing — pull request #8 by jweather (2012-09-12 15:56:44+00:00)
Title: add "expect" parameter to Curl.pm

Curl.pm now accepts an optional "expect" parameter contain text to look for in the response from the given URL. If the parameter is specified, and the text is not found in the response, then the response will be treated as a failure, otherwise it is handled normally. I use this to hit a status script to report on DB availability, environment configuration, etc