OptionaltimeoutRequest timeout in milliseconds.
OptionalmaxMaximum number of redirects to follow.
OptionalmaxMaximum response size in bytes.
OptionaluserUser-Agent header shortcut.
OptionalthrowThrow error on HTTP error status (4xx, 5xx).
OptionalstrictValidate Content-Type header.
OptionalallowedAllowed Content-Type values for strictContentType.
OptionalfollowFollow redirects automatically.
OptionalvalidateValidate detected encoding.
Options for high-level gather functions.
Remarks
Forwarded to the underlying pluck fetch, so every PluckInit option is supported (timeout, headers, userAgent, maxRedirects, maxSize, …). All options are optional; calling a gather function without options keeps the existing defaults.
Example