Ticket #3174 (closed feature: fixed)
Better support for file:// urls
|Reported by:||ahocevar||Owned by:||tschaub|
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.