[Mapserver-dev] MIME Types...
steve.lime at dnr.state.mn.us
Mon Nov 3 13:44:25 EST 2003
That is the easy way I guess, something seems too simple though.
>>> Jan Hartmann <jhart at frw.uva.nl> 11/3/2003 10:55:19 AM >>>
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
> somehow. It's possible to output plain text, HTML, XML, SVG (with
> shpxy tag) and even PHP code as a result of a query, but at the
> everything is sent as text/html. I could add a msGetQueryMIMEType
> function to examine template filename extensions and return a type,
> I'm wondering if something more general for templates and images
> 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
Mapserver-dev mailing list
Mapserver-dev at lists.gis.umn.edu
More information about the mapserver-dev