Often, it can be useful to get the header information for a page for troubleshooting purposes. The easiest browser to accomplish this with is Google Chrome. If you do not have Google Chrome, you can download it for your computer for free at chrome.google.com. Once you have done so, follow the instructions below to capture the headers:
Before we load the troublesome page in Chrome, open a new incognito window and right-click anywhere in the page. Select "Inspect Element."
This will open the Developer Tools window. We will use both this and the browser window to capture the headers.
- In the browser window, navigate to the page that we need the headers from.
- In the developer tools, click the "Network" tab at the top. It looks like this:
- In the list that opens, right-click on the first request and select "Copy Request Headers"
- Paste these headers into an email. Leave the email open, as we need the Response Headers as well.
- Right-click on the same request on the list and select "Copy Response Headers"
- Paste the Response headers into the email you opened earlier.
- Send the email to email@example.com. If this is in reference to an existing case, you can reply to the ticket.
You can take the steps above to get a .HAR file, as well. The steps are the same, except steps 3-6 are replaced with - instead of selecting "Copy Request Headers" - selecting "Save as HAR with Content." Then, attach the .HAR file to an email and send it to firstname.lastname@example.org.