Flowdock
method

assign_default_content_type_and_charset!

Importance_0
assign_default_content_type_and_charset!() 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/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
Register or log in to add new notes.