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

## Bug Description I'm getting the error `fetch failed: unable to verify the first certificate` when providing a CA certificate to the dispatcher option. I've written the exact same procedure...

bug

## This would solve... ``` MockNotMatchedError: Mock dispatch not matched for method 'POST': subsequent request to origin https://api.adapty.io was not allowed (net.connect disabled) ``` ## The implementation should look like......

enhancement
good first issue

Ref: https://github.com/nodejs/undici/issues/1737#issuecomment-1734533725 I've been thinking about how Undici has outgrown itself and how much we could potentially benefit from a monorepo and separate packages. We could iterate different pieces of...

enhancement

## Bug Description I am getting UNABLE_TO_GET_ISSUER_CERT_LOCALLY error while making HTTPS (REST API) call using typescript with node js version 18.15.0. There was no error with 16.17.1 . Basically I...

bug

Many sub-handlers (e.g. api-request) don't expect onConnect (or any other handler other than onData or onBodySent) to be called multiple times. I'm not sure why/how we haven't caught this earlier....

why not add proxy support as a URL? ```js import { env } from "./env.mjs"; import { ProxyAgent } from "undici"; // env.PROXY_URL = 'http://username:password@ip:port'; const proxy = new URL(env.PROXY_URL);...

enhancement

## This would solve... Related: #2277 Currently, four maintainers have the ability to publish `undici`. This has been working well for awhile, but there are a number of steps that...

enhancement

its flaky on every version of node and every os in the ci. not sure what test is failing exactly

I started working on a caching dispatcher + handler. Thought I'd post it here in case anyone is interested in working on something like that. We only needed to cache...