I feel like I am missing something simple here. I would like to set the HTTP content-type header from an rhtml file. I've tried different approaches with the same result--I always receive the default ("text/html ...") instead of the specified header. What am I doing wrong?
cgi = CGI.new
returns a content type header of "text/html; charset=iso-8859-1" instead of "text/plain".