class Faraday::Response

def apply_request(request_env)

Useful for applying request params after restoring a marshalled Response.
Expand the env with more properties, without overriding existing ones.
def apply_request(request_env)
  raise "response didn't finish yet" unless finished?
  @env = Env.from(request_env).update(@env)
  self
end