jquery - why does $.ajax call the success handler when the request is aborted because my server is d
- by Sam
When I bring my server down and make an ajax request to it, firebug shows that the request is aborted a few seconds after making the request, and my success handler gets called.
Why does the success handler get called, shouldn't it be the error handler? And how can I reliably detect that it wasn't actually a success?