[OpenLayers-Commits] r12335 - trunk/openlayers/lib/OpenLayers/Request

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Sep 7 10:57:06 EDT 2011


Author: marcjansen
Date: 2011-09-07 07:57:05 -0700 (Wed, 07 Sep 2011)
New Revision: 12335

Modified:
   trunk/openlayers/lib/OpenLayers/Request/XMLHttpRequest.js
Log:
- switch to 900913
- add google 
- add osm
- fix numerous smaller bugs
- smaller refactorings


Modified: trunk/openlayers/lib/OpenLayers/Request/XMLHttpRequest.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Request/XMLHttpRequest.js	2011-09-07 14:41:58 UTC (rev 12334)
+++ trunk/openlayers/lib/OpenLayers/Request/XMLHttpRequest.js	2011-09-07 14:57:05 UTC (rev 12335)
@@ -217,6 +217,9 @@
         }
     };
     function fXMLHttpRequest_send(oRequest) {
+        // always set the X-Requested-With:-header
+        // oRequest._object.setRequestHeader("X-Requested-With", "XMLHttpRequest");
+        
         oRequest._object.send(oRequest._data);
 
         // BUGFIX: Gecko - missing readystatechange calls in synchronous requests



More information about the Commits mailing list