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