pub async fn read_capped(resp: Response) -> Result<Vec<u8>>Expand description
Read a response body, streaming chunk-by-chunk and aborting the moment
the accumulated size would exceed MAX_BODY_BYTES. Never trusts
Content-Length (gzip strips it) and never fully buffers an over-cap body —
this is the decompression-bomb / OOM guard.