Ticket #3174 (closed feature: fixed)
Better support for file:// urls
| Reported by: | ahocevar | Owned by: | tschaub |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.11 Release |
| Component: | Request | Version: | 2.10 |
| Keywords: | Cc: | ||
| State: | Commit |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

