Can redirected requests preserve the original request body? new
got` starting from version 15 started dropping request body when followRedirect: true The comment is wrong in the source code https://github.com/sindresorhus/got/blob/ …
Covering Jun 7, 2026 to Sep 5, 2026
16 threads read this period, 16 of them new. Threads are counted per distinct account. Bots and pull requests are excluded.
got` starting from version 15 started dropping request body when followRedirect: true The comment is wrong in the source code https://github.com/sindresorhus/got/blob/ …
Node.js version: not executed locally; static check used Got `v15.0.7`, which declares Node.js `>=22` - OS & version: not OS-specific Got's documentation describes `prefixUrl` …
· Default headers from an extended client are still sent when calling it with an absolute URL
When a `handlers` entry returns a new promise (e.g. an async wrapper around `next(options)`), calling `.cancel()` on the returned request throws: TypeError: Cannot read …
· promise.cancel throws "Cannot read private member #state" when a handler returns a new promise
When a server responds with `Retry-After: 0` (integer seconds format), `got` aborts retries entirely and fails the request, instead of retrying immediately: In `source/ …
· Bug: `Retry-After: 0` seconds aborts retries entirely instead of retrying immediately
Retries stop after 1 attempt on connection refusal under Node.js 24.20.0+, surfaced as generic `ERR_SOCKET_CLOSED_BEFORE_CONNECTION` instead of the real error (regression from …
I updated to 16.0.0 and my requests stopped working returning a 403. This code used to work with 15.1.0:
· Request failed with status code 403 (Forbidden) with v16.0.0
github/workflows/main.yml](https://github.com/sindresorhus/got/blob/main/.github/workflows/main.yml) tests in Node.js 22 & 24 https://github.com/sindresorhus/got/blob/64f21e2a …
got` starting from version 15 started dropping request body when followRedirect: true The comment is wrong in the source code https://github.com/sindresorhus/got/blob/ …
Node.js version: not executed locally; static check used Got `v15.0.7`, which declares Node.js `>=22` - OS & version: not OS-specific Got's documentation describes `prefixUrl` …
· Default headers from an extended client are still sent when calling it with an absolute URL
When a `handlers` entry returns a new promise (e.g. an async wrapper around `next(options)`), calling `.cancel()` on the returned request throws: TypeError: Cannot read …
· promise.cancel throws "Cannot read private member #state" when a handler returns a new promise
When a server responds with `Retry-After: 0` (integer seconds format), `got` aborts retries entirely and fails the request, instead of retrying immediately: In `source/ …
· Bug: `Retry-After: 0` seconds aborts retries entirely instead of retrying immediately
Retries stop after 1 attempt on connection refusal under Node.js 24.20.0+, surfaced as generic `ERR_SOCKET_CLOSED_BEFORE_CONNECTION` instead of the real error (regression from …
I updated to 16.0.0 and my requests stopped working returning a 403. This code used to work with 15.1.0:
· Request failed with status code 403 (Forbidden) with v16.0.0
github/workflows/main.yml](https://github.com/sindresorhus/got/blob/main/.github/workflows/main.yml) tests in Node.js 22 & 24 https://github.com/sindresorhus/got/blob/64f21e2a …