摘要:
HTTP请求:请求行 Method Request-URI HTTP-Version CRLF 如:GET /index.html HTTP/1.1HEAD /index.html HTTP/1.1POST /index.html HTTP/1.1消息报头空行消息正文HTTP响应:状态行 HTTP-Version State-Code Reason-Phrase CRLF 如:HTTP/1.1 200 OK消息报头空行消息正文实验:telnet www.163.com 80GET/index.html HTTP/1.1Host:www.163.com回车回车或:HEAD/index.html 阅读全文