25 ms·
One thing I hate about fetch() is that you can't manually follow redirects. Using { redirect: 'manual' } doesn't expose the Location header of the redirect, so
by ezekg 5y ago
One thing I hate about fetch() is that you can't manually follow redirects. Using { redirect: 'manual' } doesn't expose the Location header of the redirect, so it's essentially useless. I know that node-fetch fixed this issue, so I hope the official Node fetch() does not have the same problem.
- inglor 5y agoWe are not, this is a place the server-side implementation is going to diverge and this was discussed in the PR: https://github.com/nodejs/node/pull/41749#issuecomment-1025473227 https://github.com/nodejs/node/pull/41749#issuecomment-10254...
- ezekg 5y agoThis is really, really great to hear. Thanks for all the hard work!