-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.FetchStream and .CookieJar missing? #4
Comments
I don't think either of these are in the WHATWG Fetch standard. Which is the ‘regular |
I meant the one on npm: https://www.npmjs.com/package/fetch |
Oh, I see the confusion. This module (and I suppose omni-fetch) all try to match the WHATWG Fetch specification, which is defined here: https://github.com/whatwg/fetch/, which lacks CookieJar and FetchStream. Therefore, the lack of CookieJar and FetchStream is intentional and correct, at least in I believe the |
@matthew-andrews is right about It does so by using using
Let's try and aks with |
Maybe a big warning on the |
What I meant:
Writing this down I realise this is to much of an hassle to organise and convince people of. Just confusing in different ways, too. Let's go with the readme PR to https://github.com/andris9/fetch |
Looks like I can have either browser-compat XOR cookies. A warning in the merely-compliant fetchs' readmes would be nice as well. |
I tried to use
omni-fetch
instead of the regularfetch
module in order to get proxy support, but it seems to lack.FetchStream
and.CookieJar
:Object.keys(require('omni-fetch')
only showsdefault
, andthrows
TypeError: Cannot read property 'call' of undefined
Probably an upstream problem: matthew-andrews/isomorphic-fetch#150
The text was updated successfully, but these errors were encountered: