module Ethon::Easy::ResponseCallbacks

def headers

Other tags:
    Example: Execute on_headers. -
def headers
  return if @headers_called
  @headers_called = true
  if defined?(@on_headers) and not @on_headers.nil?
    result = nil
    @on_headers.each do |callback|
      result = callback.call(self)
      break if result == :abort
    end
    result
  end
end