TODO: - [x] remove anti-pattern dispatcher hooks - [x] remove old interceptor pattern (https://github.com/nodejs/undici/pull/2754) - [x] new interceptor pattern (https://github.com/nodejs/undici/pull/2795) - [ ] change so that dispatcher hooks take an options object instead of multiple arguments - [ ] remove pipelining retries from core - [ ] implement "idempotent" retry interceptor for pipeline resets - [ ] implement "decompress" interceptor - #3255 - [x] separate out http2 - [x] #3275 - [ ] #3276 - [x] make dump investigate content-length to see if it's worth trying to read - [x] move dump to interceptor - #3118 - [ ] fix `Readable.setEncoding` issue (https://github.com/nodejs/undici/issues/1125#issuecomment-987724800) - ~~[x] non-keep alive connections are not data safe~~ - ~~[ ] Should we split `onHeaders` into more fine-grained hooks? i.e. `onHeader(key, val)` and `onStatus(code, message)`?~~ Refs: https://github.com/nodejs/undici/issues/2722
TODO:
throwOnErrorto interceptor #3275Readable.setEncodingissue (client.request throws Error with setEncoding #1125 (comment))[x] non-keep alive connections are not data safe[ ] Should we splitonHeadersinto more fine-grained hooks? i.e.onHeader(key, val)andonStatus(code, message)?Refs: #2722