lquixada / cross-fetch

Universal WHATWG Fetch API for Node, Browsers and React Native.
MIT License
1.67k stars 104 forks source link

No `Response.body` ReadableStream? #121

Closed Cobertos closed 2 years ago

Cobertos commented 2 years ago

I'm getting undefined on the Response.body parameter when it seems like it should be a ReadableStream? at least according to MDN and WhatWG

fetch is browser default fetch, _fetch is cross-fetch

image

Is this expected?

lquixada commented 2 years ago

hey @Cobertos, thanks for reporting this issue. cross-fetch is just a proxy for node-fetch and whatwg-fetch, it doesn't implement any spec. Since this is happening in the browser, please refer to the whatwg-fetch repo and let them know about it!

Cobertos commented 2 years ago

Ah I see, looks like it's been an ask for 7-ish years and has little chance of being added.

Thanks!