On Fri, 28 Apr 2006 10:02:33 +0200
Frank Maas wrote:

> This object does some basic things for generating XML, hence the
> content_type. This, again, works fine. Now the problem - if an
> unexisting action for this "XML subclass" is requested, the AUTOLOAD
> kicks in. The AUTOLOAD sets the content-type back to HTML
> ($r->content_type('text/html')) but this is completely ignored...


What I usually do is set my content type in a variable or something
like pnotes and then don't call $r->content_type() until the very
last possible moment.

---------------------------------
Frank Wiles
http://www.wiles.org
---------------------------------