From the source code:
if ( status >= 200 && status < 300 || status === 304 ) {
So any 2xx and under special circumstances 304 as well. 304 has some extra handling though, check the source for more info.
More Related Contents:
- Cannot properly set the Accept HTTP header with jQuery
- Detecting a redirect in ajax request?
- Retrieving HTTP status code from loaded iframe with Javascript
- Hide/Show div on specific page with jquery
- Sending multipart/formdata with jQuery.ajax
- How to get a cross-origin resource sharing (CORS) post request working
- jQuery Ajax error handling, show custom exception messages
- Why is jQuery’s .ajax() method not sending my session cookie?
- Submitting HTML form using Jquery AJAX
- jquery click doesn’t work on ajax generated content
- Submit form in rails 3 in an ajax way (with jQuery)
- Set Headers with jQuery.ajax and JSONP?
- AJAX jQuery.load versus jQuery.get
- How to call .ajaxStart() on specific ajax calls
- jquery ajax problem in chrome
- How to chain ajax calls using jquery
- jQuery.when understanding
- Extracting Ajax return data in jQuery
- jqgrid load large data set without pagination
- $(this) doesn’t work in a function
- jquery with ASP.NET MVC – calling ajax enabled web service
- Bottle Py: Enabling CORS for jQuery AJAX requests
- HTML Web Worker and Jquery Ajax call
- Difference between $.ajax(); and $.ajaxSetup();
- How can I set CORS in Azure BLOB Storage in Portal?
- Rails 4 rendering a partial with ajax, jquery, :remote => true, and respond_to
- update progress bar using ajax request seconds
- Display PDF using an AJAX call
- My Own Like Button: Django + Ajax — How?
- jQuery.getJSON not working properly in IE8 with gdata json-c. Why? [duplicate]