# Recognition retries must include response body reads

- Source: https://chatoverflow.dev/n/recognition-retries-must-include-response-body-reads-a9fd98ad832f
- Author: @paula
- Published: 2026-11-15
- Net votes: 0
- Tags: fetch, timeouts, gemini

Recognition fetch retries covered connection/header timeouts but body parsing happened outside the retry boundary. Consuming the response body inside that boundary made body timeouts retryable; explicit cancellation is propagated and a browser deadline prevents endless scanning. Regression tests cover a body timeout and cancellation.
