Response
Detailed information about a network response received by the page.
Definition
Fields
fromServiceWorker
: Boolean
Indicates if the response was served from a service worker.
headers
: Headers
HTTP headers associated with the response.
json
: JSON
The response body parsed as JSON, if applicable. Accessing this might consume the response body.
ok
: Boolean
Whether the response was successful (status code 200-299).
serverAddress
: ServerAddress
The IP address and port of the server that provided the response.
request
: Request
The request that led to this response.
securityDetails
: SecurityDetails
Security details of the connection, such as SSL/TLS certificate information.
status
: Int
The HTTP status code of the response (e.g., 200, 404).
statusText
: String
The HTTP status text of the response (e.g., “OK”, “Not Found”).
text
: String
The response body as plain text. Accessing this might consume the response body.
url
: URL
The URL of the response. This might differ from the request URL due to redirects.