Hi,
my latest change related to http://jira.codehaus.org/browse/GEOS-4855
(Browsers won't show png8 files generated by GeoServer)
broke the cite WMS 1.3 tests:
Testing getcapabilities:each-format
(wms-1.3.0/d39e16856_1/d39e2072_1/d39e2109_1)...
Assertion: For format "text/xml", when the FORMAT
parameter is set to that format, the MIME type of the response matches
that format.
It seems we can't have, at the same time, both the jira and the CITE
tests satisfied: if we return image/png as the mime type when asked
for
image/png8 we break the cite wms 1.3 expectation, if we return
image/png8 cite passes but the browsers will make the user download
the
file instead of showing it as an image, since the image/png8 mime is
not recognized.
Wondering how to handle this one?
The one solution I've found is to still support image/png8 in the
requests, but stop advertising it in the
capabilites, and advertise and use a "image/png; mode=8bit" mime type
instead, this one is properly
understood by browsers too (at least Chrome and Firefox)
Opinions?
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel