Submit your breaking news stories and original articles to us by contacting us
Ever wonder what secrets your browser tells the webserver? Or what the webserver whispers back when you’re not looking? OK, maybe you don’t, but as soon as you start writing a web application and have problems with sessions, cookies, forms, or anything else that happens mysteriously between the time you hit “submit” and the time the response comes back, you will. Or setting up gzip… god that’s a pain. :-) But hey, this is a secret! How can you find it?
Well, in most languages there’s a way to dump out some of the bits and pieces from the headers, but getting both request and response can be a bit of a pain. But you don’t need to worry about that, now… just use LiveHTTPHeaders.
It’s a pretty simple tool. You set it up as a sidebar or have it open in a new tab in FireFox or Mozilla, and when you hit a page, it gives you your request and the server’s response headers. You can leave images, css, etc in or filter them out via regex.
Here’s an example:
GET http://forevergeek.com/ HTTP/1.1
Host: forevergeek.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20040913 Firefox/0.10
Accept: text/xml, application/xml, application/xhtml+xml, text/html;q=0.9, text/plain;q=0.8, image/png, */*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-aliveHTTP/1.x 200 OK
Date: Tue, 28 Sep 2004 17:01:15 GMT
Server: Apache
Content-Type: text/html
Content-Length: 31837
Age: 16759
Here’s another one with a post request:
POST http://forevergeek.com/cgi-bin/mt/mt-search.cgi HTTP/1.1
Host: forevergeek.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20040913 Firefox/0.10
Accept: text/xml, application/xml, application/xhtml+xml, text/html;q=0.9, text/plain;q=0.8, image/png, */*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive
Referer: http://forevergeek.com/
Cookie: user=JC(rest removed)
Content-Type: application/x-www-form-urlencoded
Content-Length: 26
search=freeflatscreens.comHTTP/1.x 200 OK
Date: Tue, 28 Sep 2004 21:44:38 GMT
Server: Apache
Pragma: No-Cache
Content-Type: text/html; charset=ISO-8859-1
Content-Length: 3919
Age: 2
So, grab it, make your life easier. Oh, I should note there’s a plugin for IE that’s supposed to do about the same thing, but I didn’t have much luck with it, which sucks, because I use IE more than I do firefox, though between LiveHTTPHeaders and the Web Developer Toolbar, that’s changing.
I’m curious… did this solve a problem for you? Do you already use this, or something else? What do you guys use?
Gmail Adds Contact Groups, Vacation Response
Responding to Kevin’s Non-Response Post
A Beginner’s Guide to Firefox
Should Firefox add multitouch support?
Microsoft – The Only Ones Following Web Standards!
Forever Geek is a resource for all things geek. You can stay tuned by having the latest FG news delivered to you for free via RSS.
Category: General
Tags: Firefox, HTTP, Mozilla, Tricks, Web Development
Five concept watch designs that make you calculate the time
Steam: Diplomacy of Digital Downloads over Retail Boxes
Best of CES 2010 (Part One): 3DTV, Audio, Display, Processors, Gadgets
A Decade of Zombies IV: Epidemic Rooted in Society
24 Responses for "View HTTP Request and Response Headers with LiveHTTPHeaders"
September 28th, 2004 at 18:23
1Looks like there are some good HTTP header links in the google ads, too. Assuming they stay there instead of getting overwritten by the usual g e e k related ads.
September 28th, 2004 at 18:47
2Personally, I’ve always used Rex Swain’s HTTP Viewer, but LiveHTTPHeaders looks cool and I’m definitely going to try it out.
Thanks for the heads-up.
September 28th, 2004 at 19:24
3Thanks for the link, Jonathon. That’s cool for public sites, but won’t work very well on a corporate intranet, or a non-public under-development site. Hope LiveHTTPHeaders helps fill those gaps for you. :-)
I remember having some software product way back when that would catch the headers on the way in and out but I can’t remember what it was called… just that it worked nicely once it was set up, but was a pain to set up and a pain to remove because it had to serve as a proxy and I’m inside a corporate network which already has a proxy so I had to change my settings every time I used it.
September 28th, 2004 at 19:54
4Actually, I’ve been using it for some months now and find it very useful when debugging redirects and doing SEO ;-)
September 28th, 2004 at 20:14
5JC: You’re right, I forgot all about the secure services we might want to test.
LiveHTTPHeaders is now installed on my PC. I will probably use it in place of the HTTP Viewer as it is so much more configurable (I live that you can save a record of the transactions too).
October 1st, 2004 at 03:33
6Unfortunately, I’ve been without LiveHTTPHeaders for some weeks now because it is not supported on recent versions of Firefox including 1.0PR.
October 1st, 2004 at 10:38
7Actually, it works fine on 1.0PR. Go to their website and download the latest release. Might help to uninstall the old versions, too.
October 18th, 2004 at 03:51
8love it.
i wish all browsers had this functionality as standard.
October 20th, 2004 at 17:23
9If you have a problem getting ieHTTPHeaders to run, let me know. I’d love to help you out.
/ Jonas – author of ieHTTPHeaders
July 25th, 2005 at 09:09
10http://need.imoney555.com/online–money__makers/ countyensconcedundeveloped
August 3rd, 2005 at 23:04
11http://denver.denrer.com/jsfxhraz/ palmsprogrammedvideotapes
August 7th, 2005 at 09:42
12http://www.kulu-best.com/1973501/ blistersdoorsinhibitions
August 11th, 2005 at 06:06
13http://bestcolleges.ivtcscs.org hormoneslyricsquenched
August 14th, 2005 at 02:31
14http://educationloan.ivtcscs.org/yq6w5/ agentmanhoodragged
August 23rd, 2005 at 09:06
15http://will.hollywoodtheater.org encouragedhuskypointing
August 24th, 2005 at 10:26
16http://homeloan.americasparty.org/oaks/ clothinggamessickening
August 26th, 2005 at 17:39
17http://businessinsurance.mentorsverige.org/fvpnv0a/ driverfondlingstomach
August 29th, 2005 at 14:25
18http://loanequity.m-moore.org/7vqjn00ft/ meetspluckedsmirk
August 31st, 2005 at 13:45
19http://extra.caclbca.org/money-making-money/ exploredtroubleview
September 15th, 2005 at 06:52
20http://slip.boseinstitute.org/6777574/ hadninvitingpole
December 19th, 2005 at 09:13
21Your site looks great!!!!!!!!!! Please, look at my ;)
October 29th, 2006 at 13:00
22“Are there any services/apps to help prevent from giving out such information?”
Write your own webserver that doesn’t comply with the HTTP protocol, and a browser that can talk to it, and convince everyone to use your stuff?
These aren’t really secrets, they’re just the hidden packets of information that the browser and server send to each other to control the browsing process
March 8th, 2010 at 19:56
23I like to use this HTTP Request and Response Headers to send and view header to/from URLs.
Its free and have very easy interface.
March 13th, 2010 at 09:46
24I want to suggest this free http testing tool using this tool you can send different HTTP request with different options/protocols/header/cache and view the text Response from any URL.
Actually you can see if the you getting the right headers from the server
http://soft-net.net/SendHTTPTool.aspx
RSS feed for comments on this post
Leave a reply