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 Pipeline mock fails when `node:stream/promise` pipeline is used. ## Reproducible By The first test passes. For the second test, the `await pipeline(...)` fails. The error is not...

bug

I had no internet for about 20 min. Running the tests resulted into some failing tests. It is less about being independent from the internet but the risk is there,...

enhancement

### What is the problem this feature will solve? When trying to perform a fetch request to a `file://` schema, fetch fails with the following error: ``` cause: Error: not...

Should undici throw an error when sending a FormData body, either via request or fetch, when providing a content-type header? The following will "work", but will cause the server to...

## Bug Description Whenever I run `.text()` or try to read the body, I get and HPE_INVALID_CHUNK_SIZE error on Node.js on every requests made to my University's VPN domain (`u-vpn.unilim.fr`)...

bug

## This would solve... This would give a cleaner look at what requests were not caught by the mockagent during a particular run ## The implementation should look like... Long...

enhancement

> it would cause very hard to debug issues This is the reason why we didn't implement this feature. --- How about we get the undici version number from `process.versions`,...

enhancement

> A solution would be to defer resolving the promise until we get the first chunk, get the first byte, unshift the rest and assemble the pipeline correctly. _Originally posted...

enhancement

## This would solve... Let's imagine a following test suite: ```javascript import assert from 'node:assert' import {test} from 'node:test' import {MockAgent, setGlobalDispatcher, fetch} from 'undici' // the API fetch helper...

enhancement

In the EventSourceStream code of the initial EventSource implementation, alot of Buffer Operations are used to process the incoming Stream. The Buffer operations are concentrated in the `_transform` and `parseLine`...

enhancement
eventsource