Closed ibgreen closed 1 month ago
For #3025
Added a test case that reproduced the issue together with a fix:
await
response.text()
response.bodyUsed
For #3025
Added a test case that reproduced the issue together with a fix:
await
onresponse.text()
, causing the error to happen outside of the catch.response.bodyUsed
: https://developer.mozilla.org/en-US/docs/Web/API/Response/bodyUsed.