On Fri, 28 Apr 2006 10:02:33 +0200
Frank Maas <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
   http://www.wiles.org
 ---------------------------------

Reply via email to