为质量而战!为胜利而战!
HTTP协议
上一篇 /
下一篇 2008-05-17 12:11:37
/ 个人分类:性能测试
全称:Hypertext Transfer Protocol
工作方式:请求(客户端)<---->应答(服务器端)
总是通过客户端建立连接并发送HTTP请求的方式初始化
浏览器和服务器都可以随时中断连接
由三部份组成:
方法-URI-协议/版本、请求头和请求正文
浏览器发请求 | Web服务器应答 |
GET Accept Accept Language Connection Host Referer User-Agent Content-Length Content-Type Accept-Encoding | HTTP/1.1 200 OK Server:Microsoft-IE/4.0 Date: Content-Type:Text/Html Last Modified: Content-Length=112 <html> <head> <title>HTTP示例</title> </head> <body>Hello HTTP!</body> </html> |
注:
URI-Uniform Resource Identifier
URL-Uniform Resource Locator
URN-Uniform Resource Name
URL和URN是URI的子集
收藏
举报
TAG:
性能测试
http
请求应答式