Support CURLOPT_FAILONERROR #112

Merged
merged 1 commit into from Apr 11, 2012

Conversation

Projects
None yet
2 participants
Contributor

mbarringer commented Apr 10, 2012

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.

taf2 added a commit that referenced this pull request Apr 11, 2012

Merge pull request #112 from mbarringer/master
Support CURLOPT_FAILONERROR

@taf2 taf2 merged commit ab5cdc2 into taf2:master Apr 11, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment