[Mapserver-dev] MIME Types...
Steve Lime
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" ?
Jan
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
>
_______________________________________________
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