Ticket #1638 (closed feature: fixed)
New XmlHttpRequest framework uses different metric for success
|Reported by:||crschmidt||Owned by:||crschmidt|
In Ajax.Request, we had:
as a metric for a 'successful' request.
Now, we have:
request.status >= 200 && request.status < 300
Tim's response to this was 'Don't depend on the framework to declare success'. If that's going to be the answer, that's fine: We should drop success/failure calls from the framework, and change all the OpenLayers code that uses them to instead do its own parsing of success/failure. The other option (in my opinion) is to make the success metric the same as it used to be -- which is less code, and fixes what is a regression from the current library to the previous library (in my opinion).