mime type of GetCapabilities response

Bart van den Eijnden (OSGIS) bartvde at XS4ALL.NL
Tue Sep 5 14:13:56 EDT 2006


Hi Daniel,

I used curl and the content-type is correct. I have no idea though why 
Firefox treats Mapserver differently than Geoserver.

The headers returned by Mapserver are:
< HTTP/1.1 200 OK
< Date: Tue, 05 Sep 2006 18:10:33 GMT
< Server: Apache/2.0.58 (Win32)
< Transfer-Encoding: chunked
< Content-Type: application/vnd.ogc.wms_xml

The headers returned by Geoserver are:
< HTTP/1.1 200 OK
< Server: Apache-Coyote/1.1
< Set-Cookie: JSESSIONID=C01EF6B83F302FEFA489212BBBDFB195; Path=/geoserver
< Content-Type: application/vnd.ogc.wms_xml
< Transfer-Encoding: chunked
< Date: Tue, 05 Sep 2006 18:11:53 GMT

Best regards,
Bart

Daniel Morissette schreef:
> Bart van den Eijnden (OSGIS) wrote:
>> 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.
>>
>
> I just tried again (using wget in order to see the returned MIME type) 
> with the latest mapserv from CVS and for VERSION=1.1.0 I get 
> application/vnd.ogc.wms_xml.
>
> Is it possible that you are getting a service exception from your 
> server (application/vnd.ogc.se_xml)?
>
> I'd suggest that you try using a tool such as wget that will report 
> the MIME type of the response.
>
> Daniel


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl



More information about the mapserver-users mailing list