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?
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.
On linux I use wget -S [url] that gets the file and shows all headers sent by the server
I found a good tool to do it for Firefox called Live HTTP Headers 0.14:
https://addons.mozilla.org/en-US/firefox/addon/3829
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.
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
- 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 might be overkill if HTTP headers is all that are required. It has problems if the client and server are on the same machine