[Dancer-users] outputting xml

Maurice Mengel mauricemengel at gmail.com
Thu Aug 19 01:06:07 CEST 2010


I don't quite understand how to output xml. I get an error message
because after my xml there is "HTTP/1.0 200 OK"

Something like
</granularity></Identify></OAI-PMH>HTTP/1.0 200 OK

I guess it is the line "HTTP/1.0 200 OK Content-Type: text/html
X-Powered-By: Perl Dancer 1.1805 1" which I am trying to disable. How?

Right now I create XML by using HTTP::OAI, i.e.

 	$response->set_handler( XML::SAX::Writer->new( Output => \*STDOUT ) );

Thanks in advanvce!

More information about the Dancer-users mailing list