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

Hello, I'm trying to create proxy which pass all incoming data into fetch request to an another server, but every try causes error/no success. Could someone help me? I'm trying...

## Bug Description When testing using MockAgent in Jest, open handles are detected. ## Reproducible By I have created a minimal reproduction repository here: [undici-open-handles](https://github.com/rupert-mckay/undici-open-handles). The README will provide all...

bug
Status: help-wanted

## This relates to #2440 ## Rationale Implement a dns cache lookup feature as requested. Copy code from https://github.com/szmarczak/cacheable-lookup/blob/master/source/index.mjs ## Changes - add lookup in core/connect.js ### Features - dns...

ref:https://github.com/cloudflare/miniflare/issues/147 in vscode debugging, using will trigger an error. ![image](https://github.com/nodejs/undici/assets/19372111/df9d8344-6574-4c98-80d6-9622a5449ba1) ``` let res = await fetch("https://api.64clouds.com/v1/"); ```

missing minimal reproduction

## This relates to... #2267 ## Rationale Port websocket tests to node test runner ## Changes Remove tap and use node test runner for the websocket suite ### Features N/A...

Something like: https://github.com/szmarczak/cacheable-lookup#readme Should be an option to disable.

enhancement
good first issue

Bumps [tsd](https://github.com/tsdjs/tsd) from 0.29.0 to 0.30.1. Release notes Sourced from tsd's releases. v0.30.1 Add ts2353 to known errors (#202) f75a8b4 https://github.com/tsdjs/tsd/compare/v0.30.0...v0.30.1 v0.30.0 Upgrade to TypeScript 5.3 5859b92 https://github.com/tsdjs/tsd/compare/v0.29.0...v0.30.0 Commits 34dfd0f...

dependencies
javascript

## This relates to... ## Rationale ## Changes ### Features ### Bug Fixes ### Breaking Changes and Deprecations ## Status - [x] I have read and agreed to the [Developer's...

## Bug Description Why doesn't request support response body decompression? ``` import { request } from "undici"; const resp = await request('https://jsonplaceholder.typicode.com/todos/1', { headers: { 'accept-encoding': 'gzip' } }); const...

enhancement
good first issue

Would like to have an option where the redirect handler throws on max redirects instead of just forwarding the result.

enhancement
good first issue