Я уже в #2 писал.
Добавил в fetch в headers параметр x-requested-with равный XMLHttpRequest - стало вообще всё одинаково.
Только кодировка кривая.
Body.text()
Сообщение от MDN
|
The text() method of the Body mixin takes a Response stream and reads it to completion. It returns a promise that resolves with a USVString object (text). The response is always decoded using UTF-8.
|
А у меня там нифига не UTF-8... Что делать?