def generate_response(key, response)
      body, headers = response.body, response.headers
      url = response.env[:url]     if response.respond_to? :env and response.env
      url = response.url           if response.respond_to?(:url)
      url = frontend.full_url(key) if url.to_s.empty?
      modify(body, headers, url)
    end
def generate_response(key, response)
      body, headers = response.body, response.headers
      url = response.env[:url]     if response.respond_to? :env and response.env
      url = response.url           if response.respond_to?(:url)
      url = frontend.full_url(key) if url.to_s.empty?
      modify(body, headers, url)
    end
Internal: ...