> What is an easy way to see the HTTP headers in a HTTP request.  I want to see things 
>like
> 
> HTTP/1.1 200 OK
> Date; Fri, 30 Oct 1998 13:12:23 GMT
> Server: Apache/1.3.3 (Unix)
> Cache-Control: max-age=1800, must-revalidate
> ..
> ..
> ..
> 

  1) You can telnet to port 80

     try

 1)    telnet www.server.com 80

(You will see something like this)
       Trying www.server.com 
        Connected to www.server.com
        Escape character is '^]'.


 2)    HEAD / HTTP/1.0 (press return twice)

 you will get to see the HTTP headers like these.

HTTP/1.1 200 OK
Date: Tue, 09 Apr 2002 07:27:58 GMT
Server: Apache/1.3.23 (Unix) Debian GNU/Linux PHP/4.1.0RC2
Last-Modified: Thu, 21 Mar 2002 03:31:59 GMT
Connection: close
Content-Type: text/html; charset=iso-8859-1

  YOu can also try to write some code in JAVA or perl.. should not be tough.

HTH,
Shuklix


 
 
       
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to