Throwing responses only gets preserved headers if the response is a redirect
The React Router contacts tutorial + TS and some slides