Redirect fetch step 9: Issue with if-clause #1789
Unanswered
ClemensPilz
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I apologize if this is a trivial question, but maybe some member of the community has run into a similar issue: I am using node-fetch with node v18.18.2 and am getting TypeErrors when a fetch-request is redirected.
In HTTP-redirect fetch step 9, the if-clause throws the error because it cannot access options_.body. This might be due to options being a Buffer. It looks like the function works just fine if I check for requestOptions.body instead.
Is there some sort of oversight on my end here? I would appreciate any feedback.
Beta Was this translation helpful? Give feedback.
All reactions