This used to return something like:
{
ok: true,
statusCode: 200,
status: "OK",
body: textOrJson,
headers: { "Key": "value" },
}
Now things that depended on it are broken and errors that may come from resp.json() or resp.text() will not be handled properly.
It needs to be changed back to keep API compat (and be more useful to the things that use it).
cc/ @jojobyte Changing this back will probably break some of your stuff too.