18 Aug
2010
18 Aug
'10
11:06 p.m.
Hi! 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 ) ); $response->generate; Thanks in advanvce!