Everything the standard fetch init accepts, plus a redirect cap.
redirect is deliberately not honored: SafeFetch always drives redirects manually so it
can re-validate each hop, and silently accepting redirect: 'follow' would hand that back to the
platform and defeat the guard.
Type Declaration
OptionalMaxRedirects?: number
Maximum number of redirect hops to follow (each re-validated). Default: 5.
Everything the standard
fetchinit accepts, plus a redirect cap.redirectis deliberately not honored: SafeFetch always drives redirects manually so it can re-validate each hop, and silently acceptingredirect: 'follow'would hand that back to the platform and defeat the guard.