MAX_RESPONSE_BYTES
@forge/monorepo / backend/src / MAX_RESPONSE_BYTES
Variable: MAX_RESPONSE_BYTES
constMAX_RESPONSE_BYTES:200000=200_000
Defined in: backend/src/toolkit/http.ts:53
Bytes are bounded, and the bound is enforced while reading.
await response.text() on a multi-gigabyte response buffers all of it before any length check could run, so a
limit applied afterwards protects nothing at all.