method

render_format

Importance_0
render_format(status, content_type, body) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/public_exceptions.rb, line 44 def render_format(status, content_type, body) [status, { "Content-Type" => "#{content_type}; charset=#{ActionDispatch::Response.default_charset}", "Content-Length" => body.bytesize.to_s }, [body]] end
Register or log in to add new notes.