[OpenLayers-Trac] [OpenLayers] #3203: WFS-T commit drops headers

OpenLayers trac-20090302 at openlayers.org
Tue Mar 29 13:41:05 EDT 2011


#3203: WFS-T commit drops headers
---------------------+------------------------------------------------------
 Reporter:  arneke   |       Owner:              
     Type:  feature  |      Status:  new         
 Priority:  major    |   Milestone:  2.11 Release
Component:  general  |     Version:  2.10        
 Keywords:           |       State:  Review      
---------------------+------------------------------------------------------
 The POST code in Request.js clearly wants to use any configured headers
 http://trac.osgeo.org/openlayers/browser/trunk/openlayers/lib/OpenLayers/Request.js#L289

 But Protocol/WFS/v1.js  drops them
 http://trac.osgeo.org/openlayers/browser/trunk/openlayers/lib/OpenLayers/Protocol/WFS/v1.js#L307

 The attached patch fixes this. My use case is to pass along authorization
 configured on the layer object, instead of relying on cookies.

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


More information about the Trac mailing list