[Geoserver-devel] [jira] Created: (GEOS-3018) Content-type for se_inimage exceptions is the format

Content-type for se_inimage exceptions is the format
----------------------------------------------------

                 Key: GEOS-3018
                 URL: http://jira.codehaus.org/browse/GEOS-3018
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 1.7.4
            Reporter: Arne Kepp
            Assignee: Andrea Aime
            Priority: Minor
             Fix For: 2.0.x

If you make a getmap request with FORMAT=image/png8 and EXCEPTIONS=application/vnd.ogc.se_inimage then the response will have Content-type set to the format.

i.e. FORMAT=image/png8 returns "image/png8" , which is invalid.

To test, put a typo in the layer name:

http://sigma.openplans.org/geoserver/wms?WIDTH=600&SRS=EPSG%3A4326&LAYERS=topp%3Astates2&HEIGHT=550&STYLES=&FORMAT=image%2Fpng8&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=-135.3584954782436,0.9483126866100235,-56.34277552175638,73.37938931338998

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira