[Astpp-commit] SF.net SVN: astpp:[2303] trunk/freeswitch/astpp-fs-xml.pl
Brought to you by:
darrenkw
|
From: <dar...@us...> - 2010-02-12 04:25:33
|
Revision: 2303
http://astpp.svn.sourceforge.net/astpp/?rev=2303&view=rev
Author: darrenkw
Date: 2010-02-12 04:25:26 +0000 (Fri, 12 Feb 2010)
Log Message:
-----------
Missing the output header.
Modified Paths:
--------------
trunk/freeswitch/astpp-fs-xml.pl
Modified: trunk/freeswitch/astpp-fs-xml.pl
===================================================================
--- trunk/freeswitch/astpp-fs-xml.pl 2010-02-12 04:21:23 UTC (rev 2302)
+++ trunk/freeswitch/astpp-fs-xml.pl 2010-02-12 04:25:26 UTC (rev 2303)
@@ -35,7 +35,8 @@
$ASTPP = ASTPP->new;
$ASTPP->set_verbosity(4); #Tell ASTPP debugging how verbose we want to be.
-$void_xml = "<?xml version=\"1.0\"?>\n";
+$void_xml = header( -type => 'text/plain' );
+$void_xml .= "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n";
$void_xml .= "<document type=\"freeswitch/xml\">\n";
$void_xml .= "<section name=\"result\">\n";
$void_xml .= "<result status=\"not found\" />";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|