I read in the MDN manual how to get the text from the server response, but I didn’t quite understand why it was a Promise object, because the answer was already received, why it is impossible to read it right away?
For example, why instead
response.text().then(function(text) { // ... }); could not be done:
var text = response.text();