There's no documentation for this item.
# File action_controller/response.rb, line 13 def content_type=(mime_type) self.headers["Content-Type"] = charset ? "#{mime_type}; charset=#{charset}" : mime_type end
<code/>
<pre/>
<code/>and<pre/>for code samples.