/*! For license information please see b71b7cae.a94bef53.js.LICENSE.txt */ "use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[23813],{16899:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>o,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>u});var s=r(85893),n=r(11151);const a={sidebar_label:"HTTPRequest.headers"},o="HTTPRequest.headers() method",i={id:"api/puppeteer.httprequest.headers",title:"HTTPRequest.headers() method",description:"An object with HTTP headers associated with the request. All header names are lower-case.",source:"@site/versioned_docs/version-21.6.1/api/puppeteer.httprequest.headers.md",sourceDirName:"api",slug:"/api/puppeteer.httprequest.headers",permalink:"/api/puppeteer.httprequest.headers",draft:!1,unlisted:!1,tags:[],version:"21.6.1",frontMatter:{sidebar_label:"HTTPRequest.headers"},sidebar:"api",previous:{title:"HTTPRequest.frame",permalink:"/api/puppeteer.httprequest.frame"},next:{title:"HTTPRequest.initiator",permalink:"/api/puppeteer.httprequest.initiator"}},p={},u=[{value:"Signature:",id:"signature",level:4}];function c(e){const t={code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,n.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"httprequestheaders-method",children:"HTTPRequest.headers() method"}),"\n",(0,s.jsx)(t.p,{children:"An object with HTTP headers associated with the request. All header names are lower-case."}),"\n",(0,s.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-typescript",children:"class HTTPRequest {\n abstract headers(): Record;\n}\n"})}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.strong,{children:"Returns:"})}),"\n",(0,s.jsx)(t.p,{children:"Record"})]})}function d(e={}){const{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},75251:(e,t,r)=>{var s=r(67294),n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var s,a={},u=null,c=null;for(s in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,s)&&!p.hasOwnProperty(s)&&(a[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===a[s]&&(a[s]=t[s]);return{$$typeof:n,type:e,key:u,ref:c,props:a,_owner:i.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},85893:(e,t,r)=>{e.exports=r(75251)},11151:(e,t,r)=>{r.d(t,{Z:()=>i,a:()=>o});var s=r(67294);const n={},a=s.createContext(n);function o(e){const t=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),s.createElement(a.Provider,{value:t},e.children)}}}]);