Подскажите пожалуйста, почему делая XMLHttpRequest - запрашивая картинку - responseType - приходит "undefined" - что означет по умолчанию DOMString.
Почему не "arraybuffer" ? Я же картинку запрашиваю.
function my_func()
{
let my_response_type = this.responseType;
console.log(my_response_type);
}
let URL = "https://javascript.ru/forum/images/ca_serenity/misc/logo.gif";
let my_req = new XMLHttpRequest();
my_req.open("GET", URL);
my_req.onload = my_func;
my_req.send();