Back to Puppeteer

HTTPResponse.headers() method

docs/api/puppeteer.httpresponse.headers.md

19.2.2270 B
Original Source

HTTPResponse.headers() method

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

Signature

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

Returns:

Record<string, string>