puppeteer/website/versioned_docs/version-18.2.1/api/puppeteer.httpresponse.headers.md
2022-10-06 12:22:55 +02:00

308 B

sidebar_label
HTTPResponse.headers

HTTPResponse.headers() method

Signature:

class HTTPResponse {
  headers(): Record<string, string>;
}

Returns:

Record<string, string>

An object with HTTP headers associated with the response. All header names are lower-case.