How do I capture HTTP headers on Google Chrome?


How do I capture HTTP headers on Google Chrome?

At times, Zscaler Support may ask you to provide HTTP headers when troubleshooting certain issues. The HTTP headers identify the specific URL the browser accessed when you opened a web page. This article describes how to use the Google Chrome embedded HTTP header capture tool on Google Chrome version 54.0.2840.71 m. (If you are running a different browser version, the steps may not be the same.) 

Capturing HTTP Headers

Google Chrome has a built-in developer tool that allows you to capture HTTP headers and save them to a file.

  1. Press CTRL + SHIFT + i or open the menu on the top-right corner and select More Tools Developer Tools, as shown below.
    See image.
  2. Click the Network tab.
  3. Make sure the record button is red and the Preserve log option is checked, as shown below. 
    See image.
  4. Once the test is completed, right click on one transaction and select Save as HAR with content.
  5. Send the saved file to the Zscaler Support team.

Screenshot of Google Chrome settings highlighting the Developer tools option

Screenshot of the Network tab on Google Chrome showing red button, preserve log option checked, and Save as HAR with content clicked.