taf2/curb — pull request #112 by mbarringer (2012-04-10 15:25:43+00:00)
Title: Support CURLOPT_FAILONERROR

This commit:

* Fixes a minor formatting mistake from my last commit request
* Adds CURLOPT_FAILONERROR to the `set` function. The default is *0*, which means that curb.body, or the body parameter in the on_body callback, will include the text returned by the server (such as a 404 page). But when `set :failonerror, 1` is used, nothing will be in the body.