import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { Request } = default.Network;
HTTP request data.
Properties
headers: Headers
HTTP request headers.
True when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long.
optional
postDataEntries: PostDataEntry[]Request body elements. This will be converted from base64 to binary
optional
mixedContentType: Security.MixedContentTypeThe mixed content type of the request.
initialPriority: ResourcePriority
Priority of the resource request at the time request is sent.
referrerPolicy: ()
| "unsafe-url"
| "no-referrer-when-downgrade"
| "no-referrer"
| "origin"
| "origin-when-cross-origin"
| "same-origin"
| "strict-origin"
| "strict-origin-when-cross-origin"
The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/ (RequestReferrerPolicy enum)
optional
trustTokenParams: TrustTokenParamsSet for requests when the TrustToken API is used. Contains the parameters passed by the developer (e.g. via "fetch") as understood by the backend.