mime type of GetCapabilities response

Bart van den Eijnden (OSGIS) bartvde at XS4ALL.NL
Tue Sep 5 09:03:25 EDT 2006


Hi Daniel,

I am expecting application/vnd.ogc.wms_xml but I don't get it, at least
Firefox does not show, and it does with Geoserver/Deegree.

I get a download dialog with only a Save button and then get mapserv.exe
saved. The download dialog shows no content-type at all.

Best regards,
Bart

> Bart van den Eijnden (OSGIS) wrote:
>> Hi list,
>>
>> did something change with the mime type of a WMS GetCapabilities
>> response?
>>
>> I am not getting back the correct mimetype (the ogc one) anymore using
>> 4.10 beta2.
>>
>
> The MIME type was text/xml before WMS 1.1.0 and it has changed to
> application/vnd.ogc.wms_xml in WMS 1.1.0 ... and if I remember correctly
> in WMS 1.3.0 we are back to text/xml (but MapServer doesn't support
> 1.3.0).
>
> So with MapServer (and any WMS):
>
> WMS 1.0.0 to 1.0.7 should return Content-type: text/xml
>
> WMS 1.1.0/1.1.1 should return Content-type: application/vnd.ogc.wms_xml
>
> Is this not what you get?
>
> Daniel
> --
> Daniel Morissette
> http://www.mapgears.com/
>



More information about the mapserver-users mailing list