def net_http_init(net_http_response)

      @original = net_http_response
      @status = net_http_response.code.to_i
      @body = net_http_response.body
      @headers = {}
      net_http_response.each { |k, v|
        @headers[k.split('-').collect { |s| s.capitalize }.join('-')] = v
      }
    end
def net_http_init(net_http_response)

      @original = net_http_response
      @status = net_http_response.code.to_i
      @body = net_http_response.body
      @headers = {}
      net_http_response.each { |k, v|
        @headers[k.split('-').collect { |s| s.capitalize }.join('-')] = v
      }
    end
(leveraged by the patron adapter as well)