undici icon indicating copy to clipboard operation
undici copied to clipboard

An HTTP/1.1 client, written from scratch for Node.js

Results 379 undici issues
Sort by recently updated
recently updated
newest added

Added a new interceptor to decompress the response body. I lifted some of the implementation from the way decompression is handled in the [fetch client](https://github.com/nodejs/undici/blob/main/lib/web/fetch/index.js#L2139-L2161) ## This relates to... -...

## Bug Description This PR introduced the ability to externalize WASM, which is needed by distros to be able to rebuild all components shipped: https://github.com/nodejs/undici/pull/2643 PR https://github.com/nodejs/undici/pull/3074 broke this by...

bug

## This would solve... Currently, when using `stream()` or `pipeline()`, `opaque` is typed as `unknown` in the callback, e.g: ```javascript const bufs = []; undici.stream("https://example.com", { method: 'GET', opaque: {...

enhancement

Breaks legacy interceptors which need to be removed for this to land.

semver-major

1. No back-pressure for interceptor composed dispatcher through `dispatch(opts, handler)` 2. Async backpressure broken for sub dispatches, i.e. `Pool` makes false assumptions that nobody else has dispatched anything to its...

bug

## Bug Description SocketError: other side closed ## Reproducible By https://github.com/nordluf/fetch-socket-closed-example Here is the complete example ## Expected Behavior I expect fetch to stream any amount of data after any...

bug

```js class Handler { // 1. resolve dns entries // 2. pick an ip for entry list // 3. const origin = new URL(opts.origin) // 4. origin.hostname = ip //...

enhancement

Fix broken links on website ## This relates to... Issue #3322 ## Changes Rewrite links for docs ### Features N/A ### Bug Fixes Links were broken on the webpage ##...

## Bug Description Links in the "Common API Methods" section on the docs webpage is broken. E.g. the `RequestOptions` link under `undici.request` ## Reproducible By Open https://undici.nodejs.org/#/?id=undicirequesturl-options-promise in the browser....

bug
Docs

## This would solve... When an error occured, it would be great to have requested URL which failed. It is just for logging and bugfixing purposes. Eg: ```javascript const pool...

enhancement