puppeteer/website/versioned_docs/version-10.1.0/puppeteer.httprequest.headers.md

18 lines
476 B
Markdown
Raw Normal View History

2021-08-10 10:09:48 +00:00
<!-- 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.