Tags: ilanashapiro/node-fetch
Tags
fix: Remove the default connection close header (node-fetch#1765) Instead, we rely on the underlying http implementation in Node.js to handle this, as per the documentation at https://nodejs.org/api/http.html#new-agentoptions This fixes node-fetch#1735 and likely replaces node-fetch#1473 The original change introducing this provided no clear motivation for the override, and the implementation has since been changed to disable this header when an agent is provided, so I think there is sufficient evidence that removing this is the correct behaviour. node-fetch@af21ae6 node-fetch@7f68577 This commit is backported to the v2 branch from node-fetch#1736 against v3.
fix: Remove the default connection close header. (node-fetch#1736) Instead, we rely on the underlying http implementation in Node.js to handle this, as per the documentation at https://nodejs.org/api/http.html#new-agentoptions This fixes node-fetch#1735 and likely replaces node-fetch#1473 The original change introducing this provided no clear motivation for the override, and the implementation has since been changed to disable this header when an agent is provided, so I think there is sufficient evidence that removing this is the correct behaviour. node-fetch@af21ae6 node-fetch@7f68577
fix: socket variable testing for undefined (node-fetch#1726) * fix: socket variable testing for undefined Avoid issue where socket event was not triggered and local socket vraible is not defined. This issue is reproducible only using deno. * chore: made socket test capture simpler Only controls the execution of the section that uses socket. * Update src/index.js Co-authored-by: Linus Unnebäck <[email protected]> * Update index.js --------- Co-authored-by: Linus Unnebäck <[email protected]> Co-authored-by: Jimmy Wärting <[email protected]>
fix: handle bom in text and json (node-fetch#1739) * fix: handle bom in text and json * add unit tests
fix: release "Allow URL class object as an argument for fetch()" node… …-fetch#1696 (node-fetch#1716)
feat: add static Response.json (node-fetch#1670) * feat: add static Response.json * fix: set content-type if it doesn't exist properly
PreviousNext