You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change the global fetch available in local extension hosts to be the one from Electron #228696
Node.js chose to not follow the spec on the redirect response object which might make it difficult to use Electron's fetch as a drop-in replacement that should appear to extension the same way Node.js' fetch does.
Activity
chrmarti commentedon Sep 16, 2024
Discussion on an issue with manual redirects discovered by test failures in #228476: electron/electron#43715
Node.js chose to not follow the spec on the redirect response object which might make it difficult to use Electron's
fetchas a drop-in replacement that should appear to extension the same way Node.js'fetchdoes.chrmarti commentedon Sep 20, 2024
Some headers need to be removed to not break existing use:
vscode/src/vs/platform/request/node/requestService.ts
Lines 197 to 202 in 527e41f
chrmarti commentedon Sep 20, 2024
Additional limitations: electron/electron#36733 (comment)
Record use of features not supported by Electron's fetch (#228696)
Record use of features not supported by Electron's fetch (#228696)
type > typeProperty (#228696)
type > typeProperty (#228696)
Disable by default (#228696)
Disable by default (#228696)
chrmarti commentedon Nov 29, 2024
Putting on hold until we know how well Node.js'
fetchwith proxy support added works. (#228697)