method
rack_response
v7.1.3.2 -
Show latest stable
- Class:
ActionDispatch::Response
rack_response(status, headers)private
No documentation available.
# File actionpack/lib/action_dispatch/http/response.rb, line 534
def rack_response(status, headers)
if NO_CONTENT_CODES.include?(status)
[status, headers, []]
else
[status, headers, RackBody.new(self)]
end
end