in reply to XML::Generator bad header?
The problem is not with the XML header. (Apache doesn't care about what you are sending.) The problem is the non-adherence to the CGI specification, which requires a CGI header to be sent to STDOUT along with the body of the message to send to the HTTP client. Adding the following to your script will solve the problem:
use CGI; print CGI->header('text/xml');
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: XML::Generator bad header?
by hallikpapa (Scribe) on Aug 19, 2007 at 00:47 UTC | |
by Gangabass (Vicar) on Aug 19, 2007 at 01:07 UTC | |
by hallikpapa (Scribe) on Aug 19, 2007 at 01:12 UTC | |
by Anonymous Monk on Aug 19, 2007 at 02:15 UTC | |
by hallikpapa (Scribe) on Aug 19, 2007 at 07:34 UTC | |
| |
by mr_mischief (Monsignor) on Aug 19, 2007 at 20:39 UTC | |
by Anonymous Monk on Aug 21, 2007 at 11:52 UTC | |
by Anonymous Monk on Feb 25, 2009 at 15:58 UTC | |
by Anonymous Monk on Feb 27, 2009 at 14:07 UTC |