Flowdock
method

set_content_type

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActionDispatch::Response
set_content_type(content_type, 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 417
    def set_content_type(content_type, charset)
      type = (content_type || '').dup
      type << "; charset=#{charset}" if charset
      set_header CONTENT_TYPE, type
    end
Register or log in to add new notes.