Skip to content

Commit 864e58f

Browse files
authored
jQuery.ajax: Clarify 3xx redirect handling
Fixes gh-1022 Closes gh-1283 Ref gh-1105
1 parent 78006f8 commit 864e58f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/jQuery.ajax.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ $.ajax({
168168
}
169169
});
170170
</code></pre>
171-
<p>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 <code>error</code> callback.</p>
171+
<p>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 <code>error</code> callback. 3xx redirects to the same domain are handled by the browser and are not controlled by jQuery.</p>
172172
</desc>
173173
</property>
174174
<property name="success" type="Function">

0 commit comments

Comments
 (0)