Back to Puppeteer

HTTPRequest.headers() method

docs/api/puppeteer.httprequest.headers.md

19.2.2267 B
Original Source

HTTPRequest.headers() method

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

Signature

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

Returns:

Record<string, string>