From 5de42577e1b61d1e80286ad297310bd87f31f343 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 31 Aug 2018 17:59:20 -0700 Subject: [PATCH] Fix #1022: Clarify redirect handling in $.ajax() Resolves: https://github.com/jquery/api.jquery.com/issues/1022 Obsoletes: https://github.com/jquery/api.jquery.com/pull/1105 --- entries/jQuery.ajax.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entries/jQuery.ajax.xml b/entries/jQuery.ajax.xml index ee976c2c..3afaf650 100644 --- a/entries/jQuery.ajax.xml +++ b/entries/jQuery.ajax.xml @@ -168,7 +168,7 @@ $.ajax({ } }); -

If the request is successful, the status code functions take the same parameters as the success callback; if it results in an error (including 3xx redirect), they take the same parameters as the error callback.

+

If the request is successful, the status code functions take the same parameters as the success callback; if it results in an error (including 3xx redirects to another domain), they take the same parameters as the error callback. 3xx redirects to the same domain are handled by the browser and are not controlled by jQuery.