"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[26286],{3905:(e,t,r)=>{r.d(t,{Zo:()=>u,kt:()=>m});vara=r(67294);functionn(e,t,r){returntine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}functiono(e,t){varr=Object.keys(e);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}returnr}functioni(e){for(vart=1;t<arguments.length;t++){varr=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}returne}functionp(e,t){if(null==e)return{};varr,a,n=function(e,t){if(null==e)return{};varr,a,n={},o=Object.keys(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||(n[r]=e[r]);returnn}(e,t);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}returnn}vars=a.createContext({}),l=function(e){vart=a.useContext(s),r=t;returne&&(r="function"==typeofe?e(t):i(i({},t),e)),r},u=function(e){vart=l(e.components);returna.createElement(s.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){vart=e.children;returna.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){varr=e.components,n=e.mdxType,o=e.originalType,s=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),d=l(r),m=n,g=d["".concat(s,".").concat(m)]||d[m]||c[m]||o;returnr?a.createElement(g,i(i({ref:t},u),{},{components:r})):a.createElement(g,i({ref:t},u))}));functionm(e,t){varr=arguments,n=t&&t.mdxType;if("string"==typeofe||n){varo=r.length,i=newArray(o);i[0]=d;varp={};for(varsint)hasOwnProperty.call(t,s)&&(p[s]=t[s]);p.originalType=e,p.mdxType="string"==typeofe?e:n,i[1]=p;for(varl=2;l<o;l++)i[l]=r[l];returna.createElement.apply(null,i)}returna.createElement.apply(null,r)}d.displayName="MDXCreateElement"},67751:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>p,default:()=>d,frontMatter:()=>i,metadata:()=>s,toc:()=>u});r(67294);vara=r(3905);functionn(){returnn=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varr=arguments[t];for(varainr)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}returne},n.apply(this,arguments)}functiono(e,t){if(null==e)return{};varr,a,n=function(e,t){if(null==e)return{};varr,a,n={},o=Object.keys(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||(n[r]=e[r]);returnn}(e,t);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}returnn}consti={sidebar_label:"Page.setExtraHTTPHeaders"},p="Page.setExtraHTTPHeaders() method",s={unversionedId:"api/puppeteer.page.setextrahttpheaders",id:"version-20.1.2/api/puppeteer.page.setextrahttpheaders",title:"Page.setExtraHTTPHeaders() method",description:"The extra HTTP headers will be sent with every request the page initiates.",source:"@site/versioned_docs/version-20.1.2/api/puppeteer.page.setextrahttpheaders.md",sourceDirName:"api",slug:"/api/puppeteer.page.setextrahttpheaders",permalink:"/api/puppeteer.page.setextrahttpheaders",draft:!1,tags:[],version:"20.1.2",frontMatter:{sidebar_label:"Page.setExtraHTTPHeaders"},sidebar:"api",previous:{title:"Page.setDragInterception",permalink:"/api/puppeteer.page.setdraginterception"},next:{title:"Page.setGeolocation",permalink:"/api/puppeteer.page.setgeolocation"}},l={},u=[{value:"Signature:",id:"signature",level:4},{value:"Parameters",id:"parameters",level:2}],c={toc:u};functiond(e){var{components:t}=e,r=o(e,["components"]);return(0,a.kt)("wrapper",n({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",n({},{id:"pagesetextrahttpheaders-method"}),"Page.setExtraHTTPHeaders() method"),(0,a.kt)("p",null,"