Http响应:包括首部和体
【1】首部信息告诉浏览器(1)正在使用的协议(2)请求是否成功(3)体中包括什么类型的内容
【2】body中的内容for浏览器display
HTTP/1.1 200 OK
Set-Cookie:.........
Content-Type:text/html//content—Type(内容类型)响应首部的值称为MIME类型,告诉浏览器要接受的类型,这样浏览器就知道怎么显示它
Conten-Length:291
Date:...
Server:.......
Connection:close
body
<html>
......
<html>