-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jQuery.ajax: Fix #1022 #1105
base: main
Are you sure you want to change the base?
jQuery.ajax: Fix #1022 #1105
Conversation
Trying to fix jquery#1022
@@ -160,7 +160,7 @@ $.ajax({ | |||
} | |||
}); | |||
</code></pre> | |||
<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> | |||
<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 generally handled transparently.)</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you be more explicit about what "generally" means here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"generally handled transparently" is vague, I agree. Perhaps "3xx redirects to the same domain are handled by the browser and not contrlled by jQuery."
@zyphlar Do you plan to finish the PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marking Request changes to make it explicit this is not ready
Trying to fix #1022