Opened 21 years ago
Last modified 15 years ago
#455 closed defect
[WMS] GetCapabilities returns text/html asimage format — at Initial Version
Reported by: | dmorissette | Owned by: | mapserverbugs |
---|---|---|---|
Priority: | high | Milestone: | 6.0 release |
Component: | WMS Server | Version: | 4.1 |
Severity: | normal | Keywords: | wms formats |
Cc: | mapserver@…, tomkralidis |
Description
Brent Fraser wrote: > > The following is likely a Mapserver issue, but Mapserver 4.0 spits out > > GetMap> > <Format>image/png</Format> > <Format>image/jpeg</Format> > <Format>text/html</Format> > <Format>image/tiff</Format> > > when asked for REQUEST=GETCAPABILITIES > I reproduced this with the GMap demo: http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?request=getcapabilities reutnrs the following formats: <Format>image/gif</Format> <Format>image/png</Format> <Format>image/jpeg</Format> <Format>image/wbmp</Format> <Format>application/x-shockwave-flash</Format> <Format>text/html</Format> <Format>application/x-pdf</Format> <Format>image/tiff</Format> It must be that one of the default output formats in MapServer triggers this text/html thing which confuses some clients. I even wonder if any/all of the non-image formats would work via the WMS interface. Each of them should be tested at least once. For sure the text/html format didn't work for me when I tried it on the GMap WMS server.
Note:
See TracTickets
for help on using tickets.