* Anthony Ettinger <[EMAIL PROTECTED]> [070830 11:50]:
> I cannot find where content-type is set anywhere.
> 
> I have a concatenator that shoves all .css files passed to it into one
> string, then outputs it...but the content-type is being sent as text/plain
> and needs to be set to text/css.
> 
> I tried $r->header_out('Content-type" => "text/css");
> 
> But that basically removed ALL headers with a 200 response only. (no data
> was actually returned on the page either).

This works for me with HTML::Mason and Apache2.

    $r->content_type('text/css');

        -Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to