HTTP协议分为
请求:Request
请求头
数据体
请求方式 +url + 协议版本
host:访问的域名
connection:keep-alive
useragent:标识浏览器类型,现在很乱。
响应:response+message
响应头+数据体
协议版本+状态码+message
cache-control: max-age=315360000缓存时间
content-encoding: gzip
content-length: 816
content-type: application/javascript
date: Fri, 16 Aug 2019 11:48:18 GMT
etag: “659-540b1498e39c0”
expires: Sat, 20 Feb 2027 02:09:54 GMT
last-modified: Mon, 07 Nov 2016 07:51:11 GMT
ohc-cache-hit: xa2un57 [4]
ohc-response-time: 1 0 0 0 0 0
server: JSP3/2.0.14
status: 200
vary: Accept-Encoding,User-Agent