[OpenLayers-Trac] [OpenLayers] #3261: remove optional EXCEPTIONS parameter from WMS defaults

OpenLayers trac-20090302 at openlayers.org
Mon Apr 18 11:18:27 EDT 2011


#3261: remove optional EXCEPTIONS parameter from WMS defaults
-----------------------+----------------------------------------------------
 Reporter:  tschaub    |       Owner:  euzuro      
     Type:  bug        |      Status:  new         
 Priority:  minor      |   Milestone:  2.11 Release
Component:  Layer.WMS  |     Version:  2.10        
 Keywords:             |       State:              
-----------------------+----------------------------------------------------
 The WMS 1.1.1 spec says that the EXCEPTIONS parameter is optional for
 GetMap requests.  In OpenLayers, we request that exceptions are included
 in images by default.  In cases where there is a caching service between
 the OpenLayers client and the rendering WMS, this means that user errors
 fill the cache with garbage.

 It would make more sense (in my opinion) to not specify a default.  The
 spec says that if the parameter is absent from the request, the default
 value is {{{application/vnd.ogc.se_xml}}}.  This means that users will see
 pink tiles where they have made mistakes, and caches won't mistakenly
 cache images with exception reports in them.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3261>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list