Network.setExtraHTTPHeadersSpecifies whether to always send extra HTTP headers with the requests from this page.
| Name | Type | Description |
|---|---|---|
headers | Headers | Map with extra HTTP headers. |
{
"id": 1,
"method": "Network.setExtraHTTPHeaders",
"params": {
"headers": "headers-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('Network.setExtraHTTPHeaders', {"headers": "headers-value"});
console.log(result);