# File lib/typhoeus/hydra/stubbable.rb, line 17 def add(request) if response = Expectation.response_for(request) request.execute_headers_callbacks(response) request.on_body.each{ |callback| callback.call(response.body, response) } request.finish(response) else super end end