pub const MAX_RESPONSE_BYTES: u64 = _ /* 67_108_864u64 */;Expand description
The most bytes a remote body may hold: 64 MiB. The body is buffered whole and then parsed as one JSON text, so the peak memory is a multiple of its size, and a server (or a redirect to one) that streams without end would otherwise grow the process until it is killed. A crosswalk is a few kilobytes and a document or sample set is data a person chose to apply it to, so the bound sits well above any plausible input.