I'm seeing an interesting behavior with dhandlers.

http://www.masonhq.com/docs/manual/Devel.html#dhandlers ...

"When using dhandlers under mod_perl, you may find that sometimes Apache will not set a content type for a response. This usually happens when a dhandler handles a request for a non-existent file or directory. You can add a <Location> or <LocationMatch> block containing a SetType directive to your Apache config file, or you can just set the content type dynamically by calling < $r-content_type >>."

So, you can do this...

<%init>
$r->content_type('text/html');
</%init>

Matthew



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to