class ActionDispatch::HostAuthorization::DefaultResponseApp
def response(format, body)
def response(format, body) [RESPONSE_STATUS, { Rack::CONTENT_TYPE => "#{format}; charset=#{Response.default_charset}", Rack::CONTENT_LENGTH => body.bytesize.to_s }, [body]] end