RequestInit
Constructor parameter for Request
This contains information to send along with the request (Headers, body, etc...), as well as Fastly specific information.
Properties
A BodyInit object or null to set request's body.
A Headers object, an object literal, or an array of two-item arrays to set request's headers.
A string to set request's method.
The Fastly configured backend name or instance the request should be sent to.
cacheOverride
CacheOverride | ICacheOverride | Exclude<CacheOverrideMode, 'override'>optionalView sourceFastly-specific cache override configuration for this request.
Fastly-specific cache key override for this request.
Fastly-specific options.
decompressGzipoptional:boolean— Whether to automatically gzip decompress the response.
Controls how framing headers (Content-Length, Transfer-Encoding) are
determined. When true, any provided framing headers will be honored
instead of being automatically set based on the body.
Fastly Image Optimizer transformation options to apply to the response.