Tuesday, January 02, 2007

HTTP Header from a web site using TELNET

You can see the HTTP (hypertext transfer protocol) header from a web site using the standard Telnet program that comes with Windows. For example, to see the header from the root page of the Microsoft web site, do these steps:

1.Start a DOS command prompt
2.From the command prompt type
telnet www.microsoft.com 80
3.Turn on localecho so you can see what you are doing.
a)Type Ctrl+] (hold down the Ctrl key and press the right bracket)
b)Type set localecho
c)Press Enter on a blank line .
4.Type
GET / HTTP/1.1
Host: www.microsoft.com

5.Press Enter Twice.

0 Comments:

Post a Comment

<< Home