[Mapserver-dev] MIME Types...

Jan Hartmann jhart at frw.uva.nl
Mon Nov 3 11:55:19 EST 2003

Hi Steve, couldn't you just add another keyword alongside  HEADER, 
FOOTER and TEMPLATE, named MIMETYPE and defaulting to "text/html" ?


Steve Lime wrote:
> Hi Folks: I/we need to be able to change MIME types for query results
> somehow. It's possible to output plain text, HTML, XML, SVG (with new
> shpxy tag) and even PHP code as a result of a query, but at the moment
> everything is sent as text/html. I could add a msGetQueryMIMEType
> function to examine template filename extensions and return a type, but
> I'm wondering if something more general for templates and images alike
> might be warranted. Thoughts?
> Steve
> Stephen Lime
> Data & Applications Manager
> Minnesota DNR
> 500 Lafayette Road
> St. Paul, MN 55155
> 651-297-2937
> _______________________________________________
> Mapserver-dev mailing list
> Mapserver-dev at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-dev

More information about the mapserver-dev mailing list