undici
undici copied to clipboard
An HTTP/1.1 client, written from scratch for Node.js
## This would solve... Convenient third-party library calling agent. Importing a full undici would take up a lot of space. ## The implementation should look like... Publish a package that...
- [x] Case 2.6 - [x] Case 2.11 - [x] Case 5.5 - [x] Case 5.8 - [x] Case 9.3.1 - [x] Case 9.4.1 - [ ] Case 9.3.2 ->...
See https://github.com/whatwg/fetch/issues/1732. Tests at https://github.com/web-platform-tests/wpt/pull/46198. The above spec PR adds a `bytes()` method to get a Uint8Array to Body, instead of requiring users to get an ArrayBuffer with `arrayBuffer()` and...
## This relates to... ## Rationale Relates to #2835 ## Changes - **feat: add dump interceptor** - **fix(types): interceptor definitions** ### Features ### Bug Fixes ### Breaking Changes and Deprecations...
## This would solve... Decompression of compressed responses based on `content-encoding` header. ## The implementation should look like... Implemented as interceptor ## Additional context Ref: https://github.com/nodejs/undici/discussions/3253#discussion-6660897
We observe consistent intermittent errors when using native `fetch` in an _AWS Lambda `x86_64` `nodejs20.x`_. We were unable to find the particular place in `undici` code that is the culprit...
## This would solve... Performance and robustness issues associated with fetching the same HTTP resource in parallel in several places across a codebase. ## The implementation should look like... Using...
## This would solve... Performance and robustness issues associated with fetching the same HTTP resource multiple times. ## The implementation should look like... Use an interceptor(?) to implement [http caching](https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching#fresh_and_stale_based_on_age)...
Part of #3201
## This would solve... Although many Node HTTP clients are moving away from handling `https://username:[email protected]` URLs in the Request URL. Undici COULD follow WHATWG and avoid confusion as to why...