Tool to view response headers

HttpBrowserNetworkingHttp Headers

Http Problem Overview


What is the best way to view the HTTP response headers from a request against a particular URL? Telnet or is there some other really good command or tool?

Http Solutions


Solution 1 - Http

I find that Fiddler is my weapon of choice, although there are firefox plugins as well. Fiddler will show you all the HTTP Requests, their response status, all the headers, with different views (raw, hex, image), a timeline view, HTTPS Connects, everything.

Solution 2 - Http

I use the httpfox Firefox extension to view all HTTP requests and responses (including header and body) initiated from the web browser in the interval I specify (by pressing the start-recording and the stop-recording buttons). httpfox presents the data in a structured way in which I can quickly find the request I am interested in. It nicely complements LiveHTTPHeaders, because httpfox can view requests in the past as well.

Solution 3 - Http

On Linux I use:

wget -S [url] 

This gets the file and shows all headers sent by the server.

On Windows one can use the same command if Cygwin is installed; either on regular command prompt, if the environment variables were properly adjusted, or through the Cygwin command window.

Solution 4 - Http

  • HttpFox for Firefox is pretty good. It will show the headers in real time. I prefer it to Live HTTP Headers.
  • Microsoft Fiddler for Internet Explorer is a web debugger that logs all HTTP traffic between your computer and the Internet. Fiddler allows you to inspect all HTTP traffic, set breakpoints, and fiddle with incoming or outgoing data
  • Wireshark is a complete network protocol analyzer. It is good, but it might be overkill if HTTP headers is all that are required. It has problems if the client and server are on the same machine.

Solution 5 - Http

Using a recent version of Firefox (19.0 in my case), going to menu Tools -> Web Developer -> Web Console (Ctrl + Shift + K on Windows) then refreshing the page produces a log of requests.

Then clicking on one of the first GET requests, the one with the URL of the page, opens a box with information about it, including request and response headers. It works out of the box, no need for fancy-shmancy add-ons any more.

Solution 6 - Http

Check out httpie, a very nice Python tool: enter image description here

You can use the --headers option to view only headers:

enter image description here

Solution 7 - Http

The Firebug addon for Firefox is the easiest way I think.

Solution 8 - Http

For Internet Explorer, Fiddler will work. Or you can go all out with Wireshark.

Solution 9 - Http

There is a better choice (in my point of view)

It's a Firefox extension calle HTTPfox. You can not only see the header but much more information. It´s a very complete HTTP analyzer

https://addons.mozilla.org/en-US/firefox/addon/6647

Solution 10 - Http

If you are familiar with the developer tools in your browser, open the network tab on the developer tools, refresh the page, then click on the headers tab. The response headers will be listed. For instance this page sends this header:

HTTP/1.1 200 OK
Cache-Control: public, max-age=60
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
Expires: Fri, 01 Mar 2013 02:00:20 GMT
Last-Modified: Fri, 01 Mar 2013 01:59:20 GMT
Vary: *
X-Frame-Options: SAMEORIGIN
Date: Fri, 01 Mar 2013 01:59:19 GMT
Content-Length: 13555

Solution 11 - Http

I found a good tool to do it for Firefox called Live HTTP Headers.

Solution 12 - Http

burpsuite is a free tool, Java-based and runs on all platforms.

Solution 13 - Http

There is a great addon/plugin/extension called Web Developer from Chris Pederick.

It works with Chrome, Firefox and Opera and has mighty dev functions and also a possibility to 'View Response Headers'. You can find it within the tab 'Information'.

Solution 14 - Http

If you aren't looking to do it on your machine, you can use any number of online applications that do it for you.

  1. Rex Swain's HTTP viewer
  2. http://web-sniffer.net/: This one is a bit more flexible with regard to the app layer protocol (HTTP/S)
  3. Ask Apache: This one lets you customize your request a lot more.

Solution 15 - Http

If you are looking for an online tool View-Http-Request-and-Response-Headers is great

Solution 16 - Http

On Internet Explorer, inside Developer Tools (press F12), go to the Network tab and press "Start Capturing". Refresh the page, click on "Go to detailed view" and you will get a very nice overview of the request and response data.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionDaniel KivatinosView Question on Stackoverflow
Solution 1 - HttpTom RitterView Answer on Stackoverflow
Solution 2 - HttpptsView Answer on Stackoverflow
Solution 3 - HttpNorbert HartlView Answer on Stackoverflow
Solution 4 - HttpThomas BrattView Answer on Stackoverflow
Solution 5 - HttpEvgeni SergeevView Answer on Stackoverflow
Solution 6 - HttpMihai RotaruView Answer on Stackoverflow
Solution 7 - HttpercuView Answer on Stackoverflow
Solution 8 - HttpJP AliotoView Answer on Stackoverflow
Solution 9 - Httpbackslash17View Answer on Stackoverflow
Solution 10 - Httpfocused4successView Answer on Stackoverflow
Solution 11 - HttpDaniel KivatinosView Answer on Stackoverflow
Solution 12 - HttpMartinView Answer on Stackoverflow
Solution 13 - HttpsthagView Answer on Stackoverflow
Solution 14 - HttpsameersView Answer on Stackoverflow
Solution 15 - HttpBT64View Answer on Stackoverflow
Solution 16 - HttpFahad OwaisView Answer on Stackoverflow