puppeteer/new-docs/puppeteer.httprequest.headers.md

18 lines
493 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [HTTPRequest](./puppeteer.httprequest.md) &gt; [headers](./puppeteer.httprequest.headers.md)
## HTTPRequest.headers() method
<b>Signature:</b>
```typescript
headers(): Record<string, string>;
```
<b>Returns:</b>
Record&lt;string, string&gt;
an object with HTTP headers associated with the request. All header names are lower-case.