It seems response is not a Node.js compatible read stream. It would be useful if it implemented the Node.js read stream API.
res.body is, and that's as close to Fetch Spec as we can get while staying native Node.js stream.
If Fetch Spec changed again to allow piping the whole res, we will consider this request.
Oh, wasn't aware of that, thanks.
Most helpful comment
res.bodyis, and that's as close to Fetch Spec as we can get while staying native Node.js stream.If Fetch Spec changed again to allow piping the whole
res, we will consider this request.