Problems with mime type in WMS capabilities request
Nuno GIL
nunoragil at GMAIL.COM
Fri Mar 11 10:06:01 PST 2005
Hi,
But is there any way of controlling the capabilities output mime type
in MapServer?
If I test other services, also WMS 1.1 compliant, their capabilities
document is automatically show on the browser...
Thanks in advance,
Nuno
On Fri, 11 Mar 2005 18:14:35 +0100 (CET), bartvde at xs4all.nl
<bartvde at xs4all.nl> wrote:
> Hi Nuno,
>
> this was something introduced by OGC in WMS spec 1.1, they invented their
> own mime types, but ofcourse no single browser interprets things like:
> application/vnd.ogc.se_xml.
>
> In WMS 1.3 they have changed the MIME type for capabilities back to
> text/xml AFAIK.
>
> Best regards,
> Bart
>
> > Dear Listers,
> > When I request a getcapabilites from our server
> > (http://iceds.ge.ucl.ac.uk/cgi-bin/wms?map=wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities),
> > the capabilities file type that is returned is not recognized as XML
> > and not displayed immediately on the browser... To go around this I
> > simply rename the file adding an XML extension to it. This may have to
> > do with a wrong mimetype configuration...
> > Any ideas how to sort this out?
> > Regards,
> > Nuno
> >
>
>
More information about the MapServer-users
mailing list