content_type=(content_type)
Sets the HTTP content type.
# File actionpack/lib/action_dispatch/http/response.rb, line 226 def content_type=(content_type) header_info = parse_content_type set_content_type content_type.to_s, header_info.charset || self.class.default_charset end