Try following in css files
<%init>
$r->content_type('text/css');
</%init>
<%flags>
inherit => undef
</%flags>
Vimal
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony
Ettinger
Sent: Thursday, August 30, 2007 2:42 PM
To: [EMAIL PROTECTED]
Subject: [Mason] conditionally changing content-type
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).
--
Anthony Ettinger
Ph: 408-656-2473
var (bonita, farley) = new Dog;
farley.barks("very loud");
bonita.barks("at strangers");
http://chovy.dyndns.org/resume.html
http://utuxia.com/consulting
-------------------------------------------------------------------------
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