title: How to get ALL request headers in Puppeteer
body: <p>I'm trying to get ALL request headers to properly inspect the request, but it only returns headers like the User-Agent and Origin, while the original request contains a lot more headers.</p>
  
  <p>Is there a way of actually getting all the headers?</p>
  
  <p>For reference, here's the code:</p>
  
  <pre class="lang-js prettyprint-override"><code>const puppeteer = require('puppeteer');
  
  const browser = await puppeteer.launch({
      headless: false
  });
  
  const page = await browser.newPage();
  page.on('request', req =&gt; {
     console.log(req.headers());
  });
  await page.goto('https://reddit.com');
  </code></pre>
  
  <p>Thanks in advance, iLinked</p>