Skip to main content

FETCH_REQUEST_BODY_CAP

Constant FETCH_REQUEST_BODY_CAP 

Source
pub const FETCH_REQUEST_BODY_CAP: usize = _; // 4_194_304usize
Expand description

The largest request body fetchSend will put on the wire — exceeding it fails the request immediately with the "toolarge" transport error (never a silent truncation). Shared by every tier (native recorder, MockDom, browser host) so behavior cannot drift.