[Mapbender-commits] r1260 - trunk/mapbender/http/extensions

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Apr 13 08:51:20 EDT 2007


Author: christoph
Date: 2007-04-13 08:51:20 -0400 (Fri, 13 Apr 2007)
New Revision: 1260

Modified:
   trunk/mapbender/http/extensions/geom2wfst.php
Log:
changed "application/x-www-form-urlencoded" to "application/xml"

thanks to Marco Scheuble

Modified: trunk/mapbender/http/extensions/geom2wfst.php
===================================================================
--- trunk/mapbender/http/extensions/geom2wfst.php	2007-04-13 12:44:23 UTC (rev 1259)
+++ trunk/mapbender/http/extensions/geom2wfst.php	2007-04-13 12:51:20 UTC (rev 1260)
@@ -34,7 +34,7 @@
     $fp = fsockopen($host, $port);
     fputs($fp, "$method $path HTTP/1.1\r\n");
     fputs($fp, "Host: $host\r\n");
-    fputs($fp,"Content-type: application/x-www-form-urlencoded\r\n");
+    fputs($fp,"Content-type: application/xml\r\n");
     fputs($fp, "Content-length: " . strlen($data) . "\r\n");
     fputs($fp, "Connection: close\r\n\r\n");
     if ($method == 'POST') fputs($fp, $data);



More information about the Mapbender_commits mailing list