instance method
rack_response
Ruby on Rails 6.1.7.10
Since v4.0.13 PrivateSignature
rack_response(status, header)
No documentation comment.
Parameters
-
statusreq -
headerreq
Source
# File actionpack/lib/action_dispatch/http/response.rb, line 530
def rack_response(status, header)
if NO_CONTENT_CODES.include?(status)
[status, header, []]
else
[status, header, RackBody.new(self)]
end
end
Defined in actionpack/lib/action_dispatch/http/response.rb line 530
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Response