Skip to content

Conversation

Khan30-ai
Copy link

@Khan30-ai Khan30-ai commented Sep 3, 2025

This PR adds documentation in doc/api/globals.md describing how Node.js fetch() differs from the standard Fetch API.

Notable differences:

  • new Response(asyncIterable) is supported, which is not in the standard.
  • Cookies are not automatically handled.
  • The forbidden headers list is not enforced.
  • Other subtle differences may exist; consult the implementation details.

Fixes: #52163

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to the documentations. label Sep 3, 2025
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

Please revert all the unrelated changes

@alexsch01
Copy link
Contributor

this looks like AI slop mostly

@Khan30-ai Khan30-ai force-pushed the docs/fetch-differences branch 2 times, most recently from a13ec4b to 9027b8e Compare September 5, 2025 17:07
@Khan30-ai Khan30-ai changed the title docs: add differences from standard fetch in fetch() API (#52163) doc : add differences from standard fetch in fetch() API Sep 5, 2025
@Khan30-ai Khan30-ai force-pushed the docs/fetch-differences branch from 9027b8e to 98e9c54 Compare September 9, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document differences between Node.js fetch() implementations and the standard
4 participants