method
render
v8.1.1 -
Show latest stable
- Class:
ActionDispatch::DebugExceptions
render(status, body, format)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 134
def render(status, body, format)
[status, { Rack::CONTENT_TYPE => "#{format}; charset=#{Response.default_charset}", Rack::CONTENT_LENGTH => body.bytesize.to_s }, [body]]
end