Skip to content

Conversation

@bhavyaus
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings January 28, 2026 18:57
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 28, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for PUT requests to the shared FetchOptions type and updates Node-based fetcher implementations to accept and type PUT correctly.

Changes:

  • Expanded FetchOptions.method to include 'PUT'.
  • Updated NodeFetcher to allow and type 'PUT' for its internal request path.
  • Updated BaseFetchFetcher (and thus fetch-based implementations like Undici/Electron) to allow and type 'PUT'.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/platform/networking/node/nodeFetcher.ts Allows PUT in method validation and updates _fetch method type to include PUT.
src/platform/networking/node/baseFetchFetcher.ts Allows PUT in method validation and updates _fetch method type to include PUT for fetch-based implementations.
src/platform/networking/common/fetcherService.ts Extends FetchOptions.method union type to include PUT.

pwang347
pwang347 previously approved these changes Jan 28, 2026
@bhavyaus bhavyaus added this pull request to the merge queue Jan 28, 2026
Merged via the queue into main with commit 9ecbc26 Jan 28, 2026
19 checks passed
@bhavyaus bhavyaus deleted the dev/bhavyau/add-put-support branch January 28, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants