# File lib/ethon/easy/callbacks.rb, line 21 def set_callbacks Curl.set_option(:writefunction, body_write_callback, handle) Curl.set_option(:headerfunction, header_write_callback, handle) Curl.set_option(:debugfunction, debug_callback, handle) @response_body = "" @response_headers = "" @headers_called = false @debug_info = Ethon::Easy::DebugInfo.new end