[OpenLayers-Commits] r11894 - in trunk/openlayers: lib/OpenLayers/Layer tests/Layer tests/Tile tests/Tile/Image

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Tue Apr 19 14:57:18 EDT 2011


Author: tschaub
Date: 2011-04-19 11:57:12 -0700 (Tue, 19 Apr 2011)
New Revision: 11894

Modified:
   trunk/openlayers/lib/OpenLayers/Layer/WMS.js
   trunk/openlayers/tests/Layer/WMS.html
   trunk/openlayers/tests/Tile/Image.html
   trunk/openlayers/tests/Tile/Image/IFrame.html
Log:
No longer requesting exceptions as images by default.  This makes it less likely to litter a cache with in-image exception reports. r=ahocevar,erilem,bartvde (closes #3261)

Modified: trunk/openlayers/lib/OpenLayers/Layer/WMS.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/WMS.js	2011-04-19 15:47:11 UTC (rev 11893)
+++ trunk/openlayers/lib/OpenLayers/Layer/WMS.js	2011-04-19 18:57:12 UTC (rev 11894)
@@ -28,7 +28,6 @@
                       version: "1.1.1",
                       request: "GetMap",
                       styles: "",
-                      exceptions: "application/vnd.ogc.se_inimage",
                       format: "image/jpeg"
                      },
     

Modified: trunk/openlayers/tests/Layer/WMS.html
===================================================================
--- trunk/openlayers/tests/Layer/WMS.html	2011-04-19 15:47:11 UTC (rev 11893)
+++ trunk/openlayers/tests/Layer/WMS.html	2011-04-19 18:57:12 UTC (rev 11894)
@@ -82,7 +82,6 @@
         tParams = OpenLayers.Util.extend(tParams, {
             SERVICE: "WMS", VERSION: "1.1.1",
             REQUEST: "GetMap", STYLES: "",
-            EXCEPTIONS: "application/vnd.ogc.se_inimage",
             SRS: "EPSG:4326", BBOX: [1,2,3,4],
             WIDTH: "256", HEIGHT: "256"
         });
@@ -121,7 +120,6 @@
         tParams = OpenLayers.Util.extend(tParams, {
             SERVICE: "WMS", VERSION: "1.1.1",
             REQUEST: "GetMap", STYLES: "",
-            EXCEPTIONS: "application/vnd.ogc.se_inimage",
             SRS: "EPSG:4326", BBOX: "1,2,3,4",
             WIDTH: "256", HEIGHT: "256"
         });
@@ -241,7 +239,7 @@
         var tParams = {
             LAYERS: "basic", FORMAT: "image/png", SERVICE: "WMS",
             VERSION: "1.1.1", REQUEST: "GetMap", STYLES: "",
-            EXCEPTIONS: "application/vnd.ogc.se_inimage", SRS: "xx"
+            SRS: "xx"
         };
         t.eq(str,
              tUrl + "?" + OpenLayers.Util.getParameterString(tParams),

Modified: trunk/openlayers/tests/Tile/Image/IFrame.html
===================================================================
--- trunk/openlayers/tests/Tile/Image/IFrame.html	2011-04-19 15:47:11 UTC (rev 11893)
+++ trunk/openlayers/tests/Tile/Image/IFrame.html	2011-04-19 18:57:12 UTC (rev 11894)
@@ -140,7 +140,7 @@
         var tParams = {
             SERVICE: "WMS", VERSION: "1.1.1",
             REQUEST: "GetMap", STYLES: "",
-            EXCEPTIONS: "application/vnd.ogc.se_inimage", FORMAT: "image/jpeg",
+            FORMAT: "image/jpeg",
             SRS: "EPSG:4326", BBOX: [1,2,3,4],
             WIDTH: String(size.w), HEIGHT: String(size.h)
         };

Modified: trunk/openlayers/tests/Tile/Image.html
===================================================================
--- trunk/openlayers/tests/Tile/Image.html	2011-04-19 15:47:11 UTC (rev 11893)
+++ trunk/openlayers/tests/Tile/Image.html	2011-04-19 18:57:12 UTC (rev 11894)
@@ -149,7 +149,7 @@
         var tParams = {
             SERVICE: "WMS", VERSION: "1.1.1",
             REQUEST: "GetMap", STYLES: "",
-            EXCEPTIONS: "application/vnd.ogc.se_inimage", FORMAT: "image/jpeg",
+            FORMAT: "image/jpeg",
             SRS: "EPSG:4326", BBOX: [1,2,3,4],
             WIDTH: String(size.w), HEIGHT: String(size.h)
         };
@@ -182,7 +182,7 @@
         var tParams = {
             LAYERS: "basic", SERVICE: "WMS", VERSION: "1.1.1",
             REQUEST: "GetMap", STYLES: "",
-            EXCEPTIONS: "application/vnd.ogc.se_inimage", FORMAT: "image/jpeg",
+            FORMAT: "image/jpeg",
             SRS: "EPSG:4326", BBOX: "-181,-91,180,90",
             WIDTH: "256", HEIGHT: "256"
         };



More information about the Commits mailing list