method
response
v6.1.7.7 -
Show latest stable
- Class:
ActionDispatch::HostAuthorization::DefaultResponseApp
response(format, body)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/host_authorization.rb, line 104
def response(format, body)
[RESPONSE_STATUS,
{ "Content-Type" => "#{format}; charset=#{Response.default_charset}",
"Content-Length" => body.bytesize.to_s },
[body]]
end