Thomas Hilbig wrote:
> Since updating to mp2.0.0 and httpd 2.0.54, my CGI
> scripts no longer include the heading at the top:
> <?xml version="1.0" encoding="iso-8859-1"?> 

This is something usually added by my PerlResponseHandler.  If I'm using
XML::LibXML to generate the response, the document type declaration is
added automatically.

Are you setting $r->content_type('text/xml')?  If you post a code
snippet that might give us some insight into what the problem is.

> I'm not sure if there is an httpd, mp2 or CGI setting
> that will turn the header back on.  Any suggestions?

If you want full control of the headers take a look at
http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_assbackwards_

That being said I'm not sure if that is pertinent to the issue you have
encountered - posting a code sample and context usage would give us a
lot more information to work with.

Reply via email to