Our server has certain requests giving 204 No Content as a response to a fetch request.
On Chrome, the response object in response.js has a body that is ReadableStream (it is empty though) and bodyUsed = true.
On Microsoft Edge, the response object in response.js has a body = null and bodyUsed = false.
In the source code of response.js if mode === fetch then it expects a body, but this is not the case in Microsoft Edge.
Can you please add a "if response.body === null" style guard on the fetch response logic?
Our server has certain requests giving 204 No Content as a response to a fetch request.
On Chrome, the response object in response.js has a body that is ReadableStream (it is empty though) and bodyUsed = true.
On Microsoft Edge, the response object in response.js has a body = null and bodyUsed = false.
In the source code of response.js if mode === fetch then it expects a body, but this is not the case in Microsoft Edge.
Can you please add a "if response.body === null" style guard on the fetch response logic?