[mapserver-commits] r9250 - sandbox/davidK

svn at osgeo.org svn at osgeo.org
Wed Aug 12 21:45:33 EDT 2009


Author: assefa
Date: 2009-08-12 21:45:32 -0400 (Wed, 12 Aug 2009)
New Revision: 9250

Modified:
   sandbox/davidK/mapkmlrenderer.cpp
Log:
not necessary to send the header

Modified: sandbox/davidK/mapkmlrenderer.cpp
===================================================================
--- sandbox/davidK/mapkmlrenderer.cpp	2009-08-12 17:45:16 UTC (rev 9249)
+++ sandbox/davidK/mapkmlrenderer.cpp	2009-08-13 01:45:32 UTC (rev 9250)
@@ -136,10 +136,12 @@
 	xmlDocDumpFormatMemoryEnc(XmlDoc, &buf, &bufSize, "ISO-8859-1", 1);
 
 	context = msIO_getHandler(fp);
+        /*
+          header is sent in mapserv.c. This should not be necessary
 	if (context)
 		msIO_printf("Content-type: %s%c%c",format->mimetype,10,10);
+        */
 
-
 	int chunkSize = 4096;
 	for (int i=0; i<bufSize; i+=chunkSize)
 	{
@@ -980,4 +982,4 @@
 }
 
 
-#endif
\ No newline at end of file
+#endif



More information about the mapserver-commits mailing list