用telnet 测试Http协议
1. cmd
2.telnet www.baidu.com 80
3.GET /index.html HTTP/1.1
connection: close
Host: www.baidu.com
4.在键入上述代码后连续输入两个回车键
2.telnet www.baidu.com 80
3.GET /index.html HTTP/1.1
connection: close
Host: www.baidu.com
4.在键入上述代码后连续输入两个回车键