# File lib/webmock/http_lib_adapters/curb_adapter.rb, line 141 def invoke_curb_callbacks @on_progress.call(0.0,1.0,0.0,1.0) if @on_progress @on_header.call(self.header_str) if @on_header @on_body.call(self.body_str) if @on_body @on_complete.call(self) if @on_complete case response_code when 200..299 @on_success.call(self) if @on_success when 400..599 @on_failure.call(self, self.response_code) if @on_failure end end