[mapserver-commits] r13040 - in sandbox/inspire_soc2011: mapserver
msautotest/wxs/expected
svn at osgeo.org
svn at osgeo.org
Sat Feb 4 20:06:26 EST 2012
Author: schpidi
Date: 2012-02-04 17:06:25 -0800 (Sat, 04 Feb 2012)
New Revision: 13040
Modified:
sandbox/inspire_soc2011/mapserver/mapwms.c
sandbox/inspire_soc2011/msautotest/wxs/expected/wms_inspire_featureinfo_all_mime_xml.txt
Log:
Adjusting Conent-Type of GetFeatureInfo response (#4148).
Modified: sandbox/inspire_soc2011/mapserver/mapwms.c
===================================================================
--- sandbox/inspire_soc2011/mapserver/mapwms.c 2012-02-05 00:38:49 UTC (rev 13039)
+++ sandbox/inspire_soc2011/mapserver/mapwms.c 2012-02-05 01:06:25 UTC (rev 13040)
@@ -4409,9 +4409,9 @@
msIO_setHeader("Content-type","text/xml");
else /* 1.1.0 and later */
if (encoding)
- msIO_setHeader("Content-type","application/vnd.ogc.se_xml; charset=%s", encoding);
+ msIO_setHeader("Content-type","application/vnd.ogc.gml; charset=%s", encoding);
else
- msIO_setHeader("Content-type","application/vnd.ogc.se_xml");
+ msIO_setHeader("Content-type","application/vnd.ogc.gml");
msIO_sendHeaders();
msGMLWriteQuery(map, NULL, "MGO"); /* default is stdout */
Modified: sandbox/inspire_soc2011/msautotest/wxs/expected/wms_inspire_featureinfo_all_mime_xml.txt
===================================================================
--- sandbox/inspire_soc2011/msautotest/wxs/expected/wms_inspire_featureinfo_all_mime_xml.txt 2012-02-05 00:38:49 UTC (rev 13039)
+++ sandbox/inspire_soc2011/msautotest/wxs/expected/wms_inspire_featureinfo_all_mime_xml.txt 2012-02-05 01:06:25 UTC (rev 13040)
@@ -1,4 +1,4 @@
-Content-type: application/vnd.ogc.se_xml
+Content-type: application/vnd.ogc.gml
<?xml version="1.0" encoding="ISO-8859-1"?>
More information about the mapserver-commits
mailing list