[OpenLayers-Trac] [OpenLayers] #3174: Better support for file://
urls
OpenLayers
trac-20090302 at openlayers.org
Wed Mar 16 23:28:42 EDT 2011
#3174: Better support for file:// urls
----------------------+-----------------------------------------------------
Reporter: ahocevar | Owner: tschaub
Type: feature | Status: new
Priority: minor | Milestone: 2.11 Release
Component: Request | Version: 2.10
Keywords: | State: Review
----------------------+-----------------------------------------------------
In OpenLayers.Request, we check for the status code when we decide whether
to trigger the "success" event or not. In both Firefox and Safari, AJAX
requests to file:// resources work fine, but this status check keeps them
from being processed properly, because the status code for such requests,
even when successful, is 0.
This ticket suggests to set the status code to 200 when we encounter a
file:// url and have a responseText.
--
Ticket URL: <http://trac.openlayers.org/ticket/3174>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list