Windows: get http header of a Web page using telnet

Source: Internet
Author: User
Tags telnet program

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.
    1. Type ctrl +] (hold down the ctrl key and press the right bracket)
    2. Type
      Set localecho
    3. Press enter on a blank line
  4. Type
    GET/HTTP/1.1 HOST: www.microsoft.com
  5. Press ENTER twice
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.