mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
e89e264a16
This corresponds to Chromium 85.0.4182.0. This roll includes: - Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure https://crrev.com/c/2231445 - [FlexNG] Enable FlexNG by default https://crrev.com/c/2216595 Closes #6151.
2.2 KiB
2.2 KiB
Home > puppeteer > Protocol > Network > Request
Protocol.Network.Request interface
HTTP request data.
Signature:
export interface Request
Properties
Property | Type | Description |
---|---|---|
hasPostData | boolean | 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. |
headers | Headers | HTTP request headers. |
initialPriority | ResourcePriority | Priority of the resource request at the time request is sent. |
isLinkPreload | boolean | Whether is loaded via link preload. |
method | string | HTTP request method. |
mixedContentType | Security.MixedContentType | The mixed content type of the request. |
postData | string | HTTP POST request data. |
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) |
url | string | Request URL (without fragment). |
urlFragment | string | Fragment of the requested URL starting with hash, if present. |