[Mapserver-dev] MIME Types...
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?
> Stephen Lime
> Data & Applications Manager
> Minnesota DNR
> 500 Lafayette Road
> St. Paul, MN 55155
> Mapserver-dev mailing list
> Mapserver-dev at lists.gis.umn.edu
More information about the mapserver-dev