Hi,

I'm trying to override the content-type header from a component that is
supposed to send out xml feed data:

<%init>
$r->headers_out->set('Content-Type', 'application/xml');
....

(this is a top-level component with 'inherit=>undef')

But the default 'text/html' content-type stays on. When trying to set a
dummy header (say 'X-dummy') it gets added, but it seems apache2 won't
let Mason change the 'content-type' header.

Is there a way to do it?

Thanks,

-- 
http://www.critikart.net

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to