Strong http://blog.csdn.net/microtong
Oak CMS Content Management System http://www.oakcms.cn http://www.oakcms.net
Use telnet to send HTTP requests
Telnet is a standard protocol and main method for the Internet remote login service, providing users with the ability to log on to the remote host on a local computer. Telnet is used to remotely log on to the web server and manually enter the HTTP request message. Telnet displays the HTTP Response in the command line window. We hope that this experiment will help you better understand the HTTP protocol.
Enter the doscommand prompt, type the following three lines, and press ENTER twice. Lines 2nd and 3rd are not displayed on the screen, and an HTTP response is returned. The response result is shown in the following figure, that is, the HTTP Response Message.
Telnet www.oakcms.cn 80
GET/index. jsp HTTP/1.1
HOST: www.oakcms.cn
Strong http://blog.csdn.net/microtong
Oak CMS Content Management System http://www.oakcms.cn http://www.oakcms.net