-
Notifications
You must be signed in to change notification settings - Fork 312
Open
Description
In my project I use this plugin for cross domain and ie9 but when I get a text/html respons the responses.html is set and not the responses.reponseText.
When I check the Ajax response the responseText is null in this case.
Looking at the XMLHTTPRequest docs, responseText is the correct property to use.
When I change:
if (userType === 'html' || /text/html/i.test(xdr.contentType)) {
responses.html = xdr.responseText;
}
to:
if (userType === 'html' || /text/html/i.test(xdr.contentType)) {
responses.responseText = xdr.responseText;
}
all works fine here.
I see in previous changes "Accommodate HTML dataType, as requested in PR 13" you added this
Metadata
Metadata
Assignees
Labels
No labels