<html> <head> <title>http.html</title> </head> <body> hello, http </body> </html>
GET /http.html HTTP/1.1 Host: www.myweb.com Accept: */* User-Agent: Mozilla/4.0 (compatible; MSIE.6.0; Windows NT 5.1) Pragma: no-cache Cache-Control: no-cache Connection: close [空行]
HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Thursday, March 31, 2005 17:15:23 GMT Content-Type: text/html Content-Length: 88 [空行] <html> <head> <title>http.html</title> </head> <body> hello, http </body> </html>
<html> <head> <title>form.html</title> </head> <body> <form method=”get”> <input type=”text” name=”p” /> <input type=”submit” value=”submit” /> </form> </body> </html>
GET /form.html?p=form HTTP/1.1 ... ... [空行]
POST /form.html HTTP/1.1 ... ... Content-Type: application/x-www-form-urlencoded Content-Length: 6 [空行] p=form
Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved. 闵涛 E_mail:admin@mintao.net(欢迎提供学习资源)
鄂公网安备 42011102001154号
站长:MinTao ICP备案号:鄂ICP备11006601号-18