set_content_type(type, params = {})
Instance Public methods
Sets the content type in an HTTP header. The
type
should be a full HTTP content
type, e.g. âtext/htmlâ. The params
are an optional Hash of parameters to add after the content type,
e.g. {'charset' => 'iso-8859-1'}
Please login to continue.