Windows: Get HTTP Header of a Web Page 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:
- Start a DOS command prompt
- From the command prompt type
telnet www.microsoft.com 80
- Turn on localecho so you can see what you are doing.
- Type Ctrl+] (hold down the Ctrl key and press the right bracket)
- Type
set localecho
- Press Enter on a blank line
- type
GET / HTTP/1.1 Host: www.microsoft.com
- Press Enter twice