Actually, I wrote a program in Python which printed the HTTP headers.
But this also works great.

Thanks.

Kumar

On Tue, 24 Aug 2004 23:14:03 -0700 (PDT), Mithun Bhattacharya
<[EMAIL PROTECTED]> wrote:
> This is how you are supposed to test if at all :).
> 
> Mithun
> 
> --------------------------
> [EMAIL PROTECTED] mithun]$ telnet
> telnet> open www.yahoo.com 80
> Trying 66.94.230.46...
> Connected to www.yahoo.com.
> Escape character is '^]'.
> GET / HTTP/1.1
> Host: www.yahoo.com
> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
> Gecko/20040626 Firefox/0.9.1
> Accept:
> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
> n;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
> Connection: keep-alive
> 
> HTTP/1.1 200 OK
> Date: Wed, 25 Aug 2004 05:48:51 GMT
> P3P: policyref="http://p3p.yahoo.com/w3c/p3p.xml";, CP="CAO DSP COR CUR
> ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi
> PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV"
> Cache-Control: private
> Vary: User-Agent
> Connection: close
> Transfer-Encoding: chunked
> Content-Type: text/html
> Content-Encoding: gzip
> Set-Cookie: B=9c6q9ft0ioa23&b=2; expires=Thu, 15 Apr 2010 20:00:00 GMT; 
> path=/;domain=.yahoo.com


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to