一、Http responsse的format
1、<state line> HTTP/1.1 200 OK //200为状态数字,OK解释状态数字
2、<headers> //返回的内容长度、domain等信息
3、<blank line>
4、<body> //网页内容
二、Response的实例
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
X-Powered-By: ASP.NET
Date: Sun, 06 Jul 2008 11:01:21 GMT
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Wed, 02 Jul 2008 01:01:26 GMT
ETag: "0f71527dfdbc81:ade"
Content-Length: 46
//blank line
<html><head></head><body>adfasfa</body></html> //body,即网页内容