[mapserver-commits] r7278 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Thu Jan 17 20:24:03 EST 2008
Author: tomkralidis
Date: 2008-01-17 20:24:03 -0500 (Thu, 17 Jan 2008)
New Revision: 7278
Modified:
trunk/mapserver/mapwcs.c
Log:
set exception MIME type to application/vnd.ogc.se_xml for 1.0.0 (#2470)
Modified: trunk/mapserver/mapwcs.c
===================================================================
--- trunk/mapserver/mapwcs.c 2008-01-18 01:10:52 UTC (rev 7277)
+++ trunk/mapserver/mapwcs.c 2008-01-18 01:24:03 UTC (rev 7278)
@@ -94,8 +94,8 @@
int msWCSException(mapObj *map, const char *version, const char *code, const char *locator)
{
char *pszEncodedVal = NULL;
- /* msIO_printf("Content-type: application/vnd.ogc.se_xml%c%c",10,10); */
- msIO_printf("Content-type: text/xml%c%c",10,10);
+ msIO_printf("Content-type: application/vnd.ogc.se_xml%c%c",10,10);
+ /* msIO_printf("Content-type: text/xml%c%c",10,10); */
msOWSPrintEncodeMetadata(stdout, &(map->web.metadata), NULL, "wcs_encoding", OWS_NOERR, "<?xml version='1.0' encoding=\"%s\" ?>\n", "ISO-8859-1");
More information about the mapserver-commits
mailing list