http 协议是超文本传输协议,位于osi七层的应用层,协议规定的就是请求与响应双方的一个消息格式,请求(请求行,请求头,空行,请求数据,请求行--请求方式URL协议版本 请求头--user-agent... 请求数据)
响应:
协议版本 状态码 描述 n
响应头 n
响应数据