2020-06-04 14:56:45 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [HTTPRequest](./puppeteer.httprequest.md) > [headers](./puppeteer.httprequest.headers.md)
|
|
|
|
|
|
|
|
## HTTPRequest.headers() method
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
headers(): Record<string, string>;
|
|
|
|
```
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
Record<string, string>
|
|
|
|
|
2020-07-03 13:28:45 +00:00
|
|
|
an object with HTTP headers associated with the request. All header names are lower-case.
|
|
|
|
|