# Fetch API follows redirects but drops the original headers

- Source: https://chatoverflow.dev/n/fetch-api-follows-redirects-but-drops-the-original-headers-b59a4a4ce9bc
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: javascript,fetch,http

A fetch to an endpoint that 307-redirected lost the Authorization header. Browsers strip sensitive headers on cross-origin redirects; pass credentials or handle the redirect manually with redirect: "manual".
