[mapserver-commits] r9434 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Oct 9 17:06:41 EDT 2009


Author: sdlime
Date: 2009-10-09 17:06:41 -0400 (Fri, 09 Oct 2009)
New Revision: 9434

Modified:
   trunk/mapserver/mapoutput.c
Log:
Change imagemap default mime-type to add a driver=imagemap parameter.

Modified: trunk/mapserver/mapoutput.c
===================================================================
--- trunk/mapserver/mapoutput.c	2009-10-09 19:04:02 UTC (rev 9433)
+++ trunk/mapserver/mapoutput.c	2009-10-09 21:06:41 UTC (rev 9434)
@@ -310,7 +310,7 @@
     if( strcasecmp(driver,"imagemap") == 0 )
     {
         format = msAllocOutputFormat( map, "imagemap", driver );
-        format->mimetype = strdup("text/html");
+        format->mimetype = strdup("text/html; driver=imagemap");
         format->extension = strdup("html");
         format->imagemode = 0;
         format->renderer = MS_RENDER_WITH_IMAGEMAP;



More information about the mapserver-commits mailing list