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
fix(Request): allow passing Headers instance to init.headers #1401
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1401 +/- ##
=======================================
Coverage 94.27% 94.27%
=======================================
Files 49 49
Lines 4248 4248
=======================================
Hits 4005 4005
Misses 243 243
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Due to an issue in Node.js 18.1.0 with fetch implementation of undici, the request content-type was invalid. See nodejs/undici#1401 This change makes sure to always use stable node-fetch.
…1401) * fix(Request): allow passing Headers instance to init.headers * fix(Request): remove unnecessary condition * test: fix node-fetch test failures * fixup Co-authored-by: Robert Nagy <ronagy@icloud.com>
…1401) * fix(Request): allow passing Headers instance to init.headers * fix(Request): remove unnecessary condition * test: fix node-fetch test failures * fixup Co-authored-by: Robert Nagy <ronagy@icloud.com>
…1401) * fix(Request): allow passing Headers instance to init.headers * fix(Request): remove unnecessary condition * test: fix node-fetch test failures * fixup Co-authored-by: Robert Nagy <ronagy@icloud.com>
Fixes #1400