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 Documentation about RequestOptions is inconsistent. ## Reproducible By Comparing the following: https://github.com/nodejs/undici#undicirequesturl-options-promise ![image](https://user-images.githubusercontent.com/10025342/131479955-832006c1-e304-4613-ac55-1630d6f4e6e9.png) https://github.com/nodejs/undici/blob/main/docs/api/Dispatcher.md#parameter-requestoptions ![image](https://user-images.githubusercontent.com/10025342/131480063-0fe61374-11c8-422a-94be-b85a7227ffbf.png) https://github.com/nodejs/undici/blob/main/docs/api/Dispatcher.md#parameter-dispatchoptions ![image](https://user-images.githubusercontent.com/10025342/131480139-b267e50b-3d12-4480-953a-c2cd82cb9dbd.png) https://github.com/nodejs/undici/blob/main/types/api.d.ts#L16 ![image](https://user-images.githubusercontent.com/10025342/131480249-601340cf-e8fc-42a2-9cb5-dd1e8e127ff0.png) ## Expected Behavior Expected consistent types in code...

bug
Docs

https://fetch.spec.whatwg.org/#websocket-protocol

enhancement
fetch

It would be useful if balanced pool would do a dns lookup on non ip upstreams to loadbalance between all ips in the dns record.

enhancement
good first issue

## Context: In the node.js ecosystem, largely lead by express & the [debug module](https://npm.im/debug), there is the ability to turn on lower level debugging than that which you would normally...

enhancement

Look at the code. 1. Use the `deflateRawSync` is not conform to the http standard. But most browser can correctly open it. 2. The error `AboutError` is not clearly. 3....

bug
enhancement
Status: help-wanted
good first issue

Check this example based on these docs https://undici.nodejs.org/#/docs/api/MockPool?id=example-basic-mockpool-instantiation ## When ``` const { MockAgent, setGlobalDispatcher, Pool } = require('undici') const mockAgent = new MockAgent() setGlobalDispatcher(mockAgent) const mockPool = mockAgent.get('https://jsonplaceholder.typicode.com') mockPool.intercept({...

Docs

The fetch spec mentions "realm" and "relevant realm" a lot. I assume this is something similar to async context in NodeJS? Should we try to translate the API and implement...

question
fetch
spec

Figure out what error messages Chrome provides for various errors and make it so we have the same.

enhancement
good first issue
fetch

What should we use as highWaterMark for the fetch api? I think browsers usually have 1m+ while Node has ~16k. Should we try matching the browsers? I think this has...

enhancement
fetch

Both fetch and RedirectAgent implement redirects but differently. Try to unify this.

enhancement
fetch