Hi,
It is possible to have access to ajax response headers?
I need information from “WWW-Authenticate” header.
You can apply the .getResponseHeader()
method to XMLHttpRequest object:
webix.ajax().get(url, function(text, data, xhr) {
var auth = xhr.getResponseHeader("WWW-Authenticate");
});
Thanks a lot!