puppeteer/new-docs/puppeteer.protocol.network.response.md
Johan Bay e89e264a16
feat(chromium): roll Chromium to r782078 (#6250)
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.
2020-07-20 17:17:06 +02:00

4.0 KiB

Home > puppeteer > Protocol > Network > Response

Protocol.Network.Response interface

HTTP response data.

Signature:

export interface Response 

Properties

Property Type Description
cacheStorageCacheName string Cache Storage Cache Name.
connectionId number Physical connection id that was actually used for this request.
connectionReused boolean Specifies whether physical connection was actually reused for this request.
encodedDataLength number Total number of bytes received for this request so far.
fromDiskCache boolean Specifies that the request was served from the disk cache.
fromPrefetchCache boolean Specifies that the request was served from the prefetch cache.
fromServiceWorker boolean Specifies that the request was served from the ServiceWorker.
headers Headers HTTP response headers.
headersText string HTTP response headers text.
mimeType string Resource mimeType as determined by the browser.
protocol string Protocol used to fetch this request.
remoteIPAddress string Remote IP address.
remotePort integer Remote port.
requestHeaders Headers Refined HTTP request headers that were actually transmitted over the network.
requestHeadersText string HTTP request headers text.
responseTime TimeSinceEpoch The time at which the returned response was generated.
securityDetails SecurityDetails Security details for the request.
securityState Security.SecurityState Security state of the request resource.
serviceWorkerResponseSource ServiceWorkerResponseSource Response source of response from ServiceWorker.
status integer HTTP response status code.
statusText string HTTP response status text.
timing ResourceTiming Timing information for the given request.
url string Response URL. This URL can be different from CachedResource.url in case of redirect.