to_a()
Turns the Response into a Rack-compatible array of the status, headers, and body.
# File actionpack/lib/action_dispatch/http/response.rb, line 276 def to_a rack_response @status, @header.to_hash end