Because response.text() cannot be called twice, it's currently impossible to read the response body if the response wasn't in html which limits the functionality event listeners can provide.
This change simply stores the raw text we've read in the response object that we're providing event listeners, so that they have access to that data as well.
Because response.text() cannot be called twice, it's currently impossible to read the response body if the response wasn't in html which limits the functionality event listeners can provide.
This change simply stores the raw text we've read in the response object that we're providing event listeners, so that they have access to that data as well.