-
Notifications
You must be signed in to change notification settings - Fork 20.6k
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
Adding responseURL field to jqXHR #4339
Labels
Milestone
Comments
Thanks for the report. Our past plans have changed, indeed. I think we'd accept a PR adding this property. |
If that old PR can be resurrected it might still work. |
I would like to help |
@csmadhav PRs welcome! |
This was referenced May 15, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The XMLHttpRequest object has the responseURL property, which is very useful to detect redirect and especially where the request got redirected.
jQXHR objects however does not expose this property and since there are no possibility to get the underlying XMLHttpRequest object (unless you override jQuery.ajaxSettings.xhr function), it is not possible for user functions to get the url to which the request was redirected at all.
This feature were already discussed here and here, but the feature were never implemented.
The text was updated successfully, but these errors were encountered: