What does the browser include in HTTP headers?

Tram Ho

What does the browser include in HTTP headers?

Have you ever wondered whether your browser made a request to the server, what did it do? Whenever your browser makes a request to a website. It sends a lot of things, which include a lot of “headers”.


So, what does those headers really mean?

And here is the answer:

  • It sends about 10 headers:

  • These headers may vary from site to site (especially HOST and COOKIE) depending on your settings.

If you want to learn more about HTTP , the World Wide Web and HTTP headers, you can refer to Wikipedia pages.


How to check which headers your browser has sent?

You can do this by turning on your web browser: Chrome, FireFox, Safary, etc …

Select […], select More tools:

Select Developer Tools, or press [Ctrl + Shift + J], or [F12]

Turn to the Network tab:

 

Then go to any website, www.google.com for example, then you will see a lot of requests sent, choose any request and you will see the content of those packets, including Both their headers:


Source: https://www.whatismybrowser.com/detect/what-http-headers-is-my-browser-sending

Share the news now

Source : Viblo