Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome developer tools header formats and view source

Below are two screenshots from the same version of Chrome. I would like to know when and why header names sometimes are displayed with different word capitalization and also when is the view source/view parsed toggle available? I've read the developer tools documentation which says nothing about it and tried to load pages in different ways. The only pattern i suspect is content compression, could that be it?

Update: nope seen both versions on sites using gzip

headers 1headers 2

like image 247
Mattias Wadman Avatar asked Jun 21 '15 14:06

Mattias Wadman


People also ask

How do I view the Headers in Google Chrome developer tools?

In Chrome, visit a URL(such as https://www.google.com ), right click, select Inspect to open the developer tools. Select Network tab. Reload the page, select any HTTP request on the left panel, and the HTTP headers will be displayed on the right panel.

How do I change the header on Google Chrome developer tools?

Modify Headeropen Chrome developers toolbar Option + ⌘ + J (on macOS), or Shift + CTRL + J (on Windows/Linux). Press Command+Shift+P (Mac) or Control+Shift+P (Windows, Linux, Chrome OS) to open the Command Menu. In the User agent section disable the Select automatically checkbox.

How do I see header values in browser?

View headers with browser development tools Within the page, right-click (for PC users) or command-click (Mac users) to view options, and then click Inspect. The Inspect feature will display the troubleshooting console, which will enable all of the available tools in a panel on the side of the window.

Where is the source file in Chrome developer tools?

You can quickly search all of your source code by pressing Cmd + Opt + F ( Ctrl + Shift + F ).


1 Answers

It seems that it happens only for resources served over HTTP2/SPDY (compare this image served over HTTP2 with the same image served over HTTP). There is an old Chrome bug that proves that HTTP2/SPDY headers are being handled differently. I reported this as a bug here.

like image 144
Konrad Dzwinel Avatar answered Oct 13 '22 21:10

Konrad Dzwinel