How to View HTTP Headers with Firefox, Chrome, curl

Here are some tools to help you view HTTP headers for web design or development.

Firefox

Firefox is my first choice. Use the Live HTTP Headers extension.

curl

If you are using an operating system like Linux, BSD, or Mac OS/X, you can use curl. First make sure that curl is installed by opening a terminal and typing curl. If it isn’t installed and you are using Linux Mint, Ubuntu, or similar distro, type sudo apt-get install curl to install it.

Once curl is installed, type curl -I http://example.com/ to see the HTTP headers of the URL. Replace http://example.com/ with the URL that you want to examine.

Getting HTTP headers with curl

Chrome

In Chrome or Chromium browsers, press F12 to open the developer console. Then click the network menu item and visit a webpage. Or install the HTTP Headers extension.

Related posts:

One thought on “How to View HTTP Headers with Firefox, Chrome, curl”

  1. I loved the FireFox Header Spy extension so much that i built a HTTP Spy extension for Chrome. I used to use the developer tools too for debugging headers, but now my life is so much better.

    Here is a Chrome extension that allows you to view request-, response headers and cookies without any extra clicks right after the page is loaded.

    It also handles redirects. It comes with an unobtrusive micro-mode that only shows a hand picked selection of response headers and a normal mode that shows all the information.

    https://chrome.google.com/webstore/detail/http-spy/agnoocojkneiphkobpcfoaenhpjnmifb

    Enjoy!

Leave a Reply

Your email address will not be published. Required fields are marked *