[Mapbender-commits] r1911 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Dec 11 08:45:15 EST 2007
Author: christoph
Date: 2007-12-11 08:45:15 -0500 (Tue, 11 Dec 2007)
New Revision: 1911
Modified:
trunk/mapbender/http/php/mod_digitize_messages.php
trunk/mapbender/http/php/mod_wfsSpatialRequest_messages.php
Log:
set correct Content-type headers
Modified: trunk/mapbender/http/php/mod_digitize_messages.php
===================================================================
--- trunk/mapbender/http/php/mod_digitize_messages.php 2007-12-11 13:21:04 UTC (rev 1910)
+++ trunk/mapbender/http/php/mod_digitize_messages.php 2007-12-11 13:45:15 UTC (rev 1911)
@@ -73,6 +73,6 @@
$json = new Services_JSON();
$output = $json->encode($msg_obj);
-header("Content-type:text/plain; charset=utf-8");
+header("Content-type:application/x-json; charset=utf-8");
echo $output;
?>
\ No newline at end of file
Modified: trunk/mapbender/http/php/mod_wfsSpatialRequest_messages.php
===================================================================
--- trunk/mapbender/http/php/mod_wfsSpatialRequest_messages.php 2007-12-11 13:21:04 UTC (rev 1910)
+++ trunk/mapbender/http/php/mod_wfsSpatialRequest_messages.php 2007-12-11 13:45:15 UTC (rev 1911)
@@ -40,6 +40,6 @@
$json = new Services_JSON();
$output = $json->encode($msg_obj);
-header("Content-type:text/plain; charset=utf-8");
+header("Content-type:application/x-json; charset=utf-8");
echo $output;
?>
\ No newline at end of file
More information about the Mapbender_commits
mailing list