puppeteer/docs/api/puppeteer.httpresponse.headers.md

309 B

sidebar_label
HTTPResponse.headers

HTTPResponse.headers() method

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

Signature:

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

Returns:

Record<string, string>