Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix actions redirect handling (#49483)
This ensures we properly strip conflicting headers from being forwarded when handling the redirect request/response in actions. x-ref: [slack thread](https://vercel.slack.com/archives/C042LHPJ1NX/p1683218335368759) Fixes: ```sh failed to get redirect response TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11413:11) { cause: RequestContentLengthMismatchError: Request body length does not match content-length header at write (node:internal/deps/undici/undici:9907:41) at _resume (node:internal/deps/undici/undici:9885:33) at resume (node:internal/deps/undici/undici:9787:7) at connect (node:internal/deps/undici/undici:9776:7) { code: 'UND_ERR_REQ_CONTENT_LENGTH_MISMATCH' } } ```
- Loading branch information