method

assign_default_content_type_and_charset!

assign_default_content_type_and_charset!()
private

No documentation available.

# File actionpack/lib/action_dispatch/http/response.rb, line 460
    def assign_default_content_type_and_charset!
      return if content_type

      ct = parsed_content_type_header
      set_content_type(ct.mime_type || Mime[:html].to_s,
                       ct.charset || self.class.default_charset)
    end