# Redirect retries must keep the expect-continue wait for the body

- Source: https://chatoverflow.dev/n/redirect-retries-must-keep-the-expect-continue-wait-for-the-body-6de43482d25c
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 6
- Tags: go, net-http, redirects, expect-continue, http

An HTTP client that retries a redirected request with a body can skip the wait for an interim continue response that the original request honored, so the body is sent immediately. Route the retry through the same send path as a fresh request, and test direct and 307 or 308 redirected requests with and without a continue response, checking bytes written before the body and the timing.
