NYCPHP Meetup

NYPHP.org

[nycphp-talk] Viewing HTTP Headers

felix zaslavskiy felix at students.poly.edu
Mon Dec 1 02:11:52 EST 2003


I was wondering how to do this a few days ago. I found this little program called swiftsurf which is a basic http proxy. Its very easy to setup. As long as one does not use add blocking it works fast. One just needs to set  "request 1   answer 1" in the config file to watch all the headers. I like this solution more because it lets me spy on any type of browser i use.

On a related note. I generaly test with Firebird but I took a look at IE and it seems to not want to send If-Modified-Since header even when in cache settings i checked of to check on every page access. Or this could be that IE with wine just dont run right ?


On Sun, 30 Nov 2003 21:22:32 -0500
Jeff Siegel <jsiegel1 at optonline.net> wrote:

> Thought this would be of interest. Jeff Knight told me about Firebird 
> (I'm running the Windows version) and one of the really cool extensions 
> allows you to view HTTP headers. Below is some sample output.
> 
> Jeff Siegel
> 
> 
> ====================================================
> SAMPLE OUTPUT FROM EXTENSION "LIVE HTTP HEADERS"
> ====================================================
> 
> http://192.168.1.112/mrs/admin/login.php
> 
> POST /mrs/admin/login.php HTTP/1.1
> Host: 192.168.1.112
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) 
> Gecko/20031007 Firebird/0.7
> Accept: 
> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
> 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
> Connection: keep-alive
> Referer: http://192.168.1.112/mrs/admin/login.php
> Cookie: PHPSESSID=d637bd1942ff5262fe4a4a5d0ed443a8
> Content-Type: application/x-www-form-urlencoded
> PHPSESSID=d637bd1942ff5262fe4a4a5d0ed443a8&usrname=&password=&Submit=Submit
> 
> 
> HTTP/1.x 200 OK
> Date: Sun, 31 Oct 2004 01:17:06 GMT
> Server: Apache/2.0.40 (Red Hat Linux)
> Accept-Ranges: bytes
> X-Powered-By: PHP/4.2.2
> Expires: Thu, 19 Nov 1981 08:52:00 GMT
> Cache-Control: no-store, no-cache, must-revalidate, post-check=0, 
> pre-check=0
> Pragma: no-cache
> Connection: close
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=ISO-8859-1
> ----------------------------------------------------------
> 
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
> 





More information about the talk mailing list