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

This PR addresses an issue related to handling the closure of HTTP2 streams with the NGHTTP2_INTERNAL_ERROR code. Now, when HTTP2 streams are closed with the NGHTTP2_INTERNAL_ERROR code, the promise is...

### What is the problem this feature will solve? This will get node's implementation of `fetch` closer to how it behaves in the browser. ### What is the feature you...

## Bug Description my code is typescript. I run it in two ways: 1. use bun 2. compile to js, and use node v21 when use bun run it, no...

bug

Bumps [borp](https://github.com/mcollina/borp) from 0.9.1 to 0.10.0. Release notes Sourced from borp's releases. v0.10.0 What's Changed Add a monorepo (project references) support for via the --build flag by @​iamdoron in mcollina/borp#19...

dependencies
javascript

I'm not done yet. We understand that some behaviors deviate from the specification and increase maintenance costs, but these APIs should be improved.

Once https://github.com/nodejs/undici/pull/2826 lands we can start moving some logic into interceptors in order to ensure we get similar logic for all api implementations: - [ ] throwOnError as interceptor -...

enhancement

Imho the spec rfc 6265 is not correctly implemented. Either only positive integers excluding 0 are allowed (which the current implementation does not match) for MaxAge or all integer values...

## Bug Description If node closes a http2stream with `NGHTTP2_INTERNAL_ERROR`, the `await dispatch` in httpNetworkFetch() in fetch/index.js will never resolve ## Reproducible By The tricky part about reproducing is understandably...

bug
good first issue
H2

It seems to me a bit forced to try to have http2 logic inside the http 1.1 client. I think it might make sense to move shared stuff up one...

enhancement
H2

## Reproducible By Using an `Agent` dispatcher with `allowH2` set to `true` and `maxRedirections` set to `>0` ## Logs & Screenshots Response header of https://imgur.com/qRKTc1U.jpeg with `maxRedirections` set to `50`...

bug
H2