Optional
actualOriginal uri to preserve
through proxying etc (xhr.original
).
Optional
bodyOptional
cacheA string indicating how the request will interact with the browser's cache to set request's cache.
Optional
clearBefore we parse new data, clear old, but only on status 200 responses
Optional
contentProvided content type (for writes)
Optional
credentialsOptional
dataOptional
fetchThe used Fetch function
Optional
forceLoad the data even if loaded before.
Also sets the Cache-Control:
header to no-cache
Optional
forceOverride the incoming header to force the data to be treated as this content-type (for reads)
Optional
handlersOptional
integrityA cryptographic hash of the resource to be fetched by request. Sets request's integrity.
Optional
keepaliveA boolean to set request's keepalive.
Optional
methodOptional
modeA string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode.
Optional
noPrevents the addition of various metadata triples (about the fetch request) to the store
Optional
noRDFaThe serialized resource in the body
Optional
proxyWhether this request is a retry via a proxy (generally done from an error handler)
Optional
redirectA string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect.
Optional
referrerA string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer.
Optional
referrerA referrer policy to set request's referrerPolicy.
Optional
referringReferring term, the resource which referred to this (for tracking bad links). The document in which this link was found.
Optional
requestedURIOptional
retriedOptional
signalAn AbortSignal to set request's signal.
Optional
timeoutOptional
windowCan only be null. Used to disassociate request from any Window.
Optional
withflag for XHR/CORS etc
Initiated by initFetchOptions, which runs on load