undici
undici copied to clipboard
An HTTP/1.1 client, written from scratch for Node.js
As titled This could be part of the next semver major that drops old nodes.
### What is the problem this feature will solve? The HTTP debug information for [node-fetch](https://www.npmjs.com/package/node-fetch) can be turned on by setting the the environment variable `NODE_DEBUG=http`: ```js // node-fetch.test.js const...
Bumps [cronometro](https://github.com/ShogunPanda/cronometro) from 1.2.0 to 2.0.0. Release notes Sourced from cronometro's releases. 2.0.0 chore: Updated dependencies. (5001f35) Changelog Sourced from cronometro's changelog. 2023-12-20 / 2.0.0 chore: Updated dependencies. Commits 5f834bb...
in nodejs v21.2.0 await globalThis.fetch('https://bit.ly/48b82fP').then(_ => _.url) just show the first redirect url: https://l.facebook.com/l.php?u=https://f.theloadedbaze.com/%3Ffbclid%3DIwAR09e4iW8r6DAGuJbtEfepgIwLKm1zsIcavDGWT7gbFqyX4E56N7fL9pQNQ&h=AT1dnnHhh3K5JfViDpurjF0I833b7Fs5ukXQIDMNju_dSkagEbhuGB1zjjrFKuOZF2k6IU9MSTTwz0FlSoW761RP7xoRXBay0mUmD5bJYggSXdVlLwb4vOVlNXcM3oRnYMlwr_sh4RQ But in node-fetch: import fetch from 'node-fetch' await globalThis.fetch('https://bit.ly/48b82fP').then(_ => _.url) show the final redirect url:...
### Version `v21.0.0` ### Platform `Linux archhost 6.5.7-arch1-1 nodejs/node#1 SMP PREEMPT_DYNAMIC Tue, 10 Oct 2023 21:10:21 +0000 x86_64 GNU/Linux` ### Subsystem _No response_ ### What steps will reproduce the bug?...
## This relates to... ## Rationale ## Changes ### Features ### Bug Fixes ### Breaking Changes and Deprecations ## Status - [ ] I have read and agreed to the...
Hi folks, I'm working on improving our documentation and I'd like to clarify some aspects of the API starting with `Dispatcher`. `Dispatcher` is essentially an abstract class: https://github.com/nodejs/undici/blob/main/lib/dispatcher.js#L5 that is...
Does anyone know why the PerformanceResourceTiming instance is missing information regarding DNS and what not? Here is an example: ``` PerformanceResourceTiming { name: 'https://example.com/', entryType: 'resource', startTime: 257.69891691207886, duration: 98.86862516403198,...
## This would solve... > TL;DR: Removing `Content-Length` and `Content-Encoding` headers when decompressing responses makes proxying a lot easier, but is probably a breaking change. When fetching a compressed resource,...
Bumps [proxy](https://github.com/TooTallNate/proxy-agents/tree/HEAD/packages/proxy) from 1.0.2 to 2.1.1. Release notes Sourced from proxy's releases. [email protected] Patch Changes 25e0c93: Ensure that socket.remoteAddress is a string [email protected] Minor Changes 0f31047: Add localAddress option to...