class Faraday::HttpCache::Response

def initialize(payload = {})

:body - the response body.
:response_headers - a 'Hash' like object with the headers.
:status - the status code from the response.
payload - the response Hash returned by a Faraday request.

a Faraday request.
Internal: Initialize a new Response with the response payload from
def initialize(payload = {})
  @now = Time.now
  @payload = payload
  wrap_headers!
  ensure_date_header!
  @last_modified = headers['Last-Modified']
  @etag = headers['ETag']
end