Module

x/fresh/tests/deps.ts>puppeteer.Network.Response

The next-gen web framework.
Extremely Popular
Go to Latest
interface puppeteer.Network.Response
import { type puppeteer } from "https://dotland.deno.dev/x/fresh@1.0.2/tests/deps.ts";
const { Response } = puppeteer.Network;

HTTP response data.

Properties

url: string

Response URL. This URL can be different from CachedResource.url in case of redirect.

status: integer

HTTP response status code.

statusText: string

HTTP response status text.

headers: Headers

HTTP response headers.

optional
headersText: string

HTTP response headers text. This has been replaced by the headers in Network.responseReceivedExtraInfo.

mimeType: string

Resource mimeType as determined by the browser.

optional
requestHeaders: Headers

Refined HTTP request headers that were actually transmitted over the network.

optional
requestHeadersText: string

HTTP request headers text. This has been replaced by the headers in Network.requestWillBeSentExtraInfo.

connectionReused: boolean

Specifies whether physical connection was actually reused for this request.

connectionId: number

Physical connection id that was actually used for this request.

optional
remoteIPAddress: string

Remote IP address.

optional
remotePort: integer

Remote port.

optional
fromDiskCache: boolean

Specifies that the request was served from the disk cache.

optional
fromServiceWorker: boolean

Specifies that the request was served from the ServiceWorker.

optional
fromPrefetchCache: boolean

Specifies that the request was served from the prefetch cache.

encodedDataLength: number

Total number of bytes received for this request so far.

optional
timing: ResourceTiming

Timing information for the given request.

optional
serviceWorkerResponseSource: ServiceWorkerResponseSource

Response source of response from ServiceWorker.

optional
responseTime: TimeSinceEpoch

The time at which the returned response was generated.

optional
cacheStorageCacheName: string

Cache Storage Cache Name.

optional
protocol: string

Protocol used to fetch this request.

securityState: Security.SecurityState

Security state of the request resource.

optional
securityDetails: SecurityDetails

Security details for the request.