General
Request URL:http://api.***dev.com/-----------------------
Request Method:POST
Status Code:200 OK
Remote Address:172.18.**.***:80
Referrer Policy:no-referrer-when-downgrade 当发生降级(比如从 https:// 跳转到 http:// )时,不传递 Referrer 报头
Response Headers
age:16 从原始服务器到代理缓存形成的估算时间
cache-control:max-age=30 缓存机制
Content-Encoding: gzip 相同编码
Vary: Accept-Encoding 防止 Cache 服务器用自己Cache 里面压缩后的实体响应给不具备解压能力的浏览器
content-length:28468
content-type:text/html; charset=utf-8
date:Mon, 03 Sep 2018 02:43:04 GMT
expires:Mon, 03 Sep 2018 02:44:03 GMT 响应过期的日期和时间
status:200
via:***************************------------------------------------------------------
Access-Control-Allow-Credentials: true 可以保持跨域 Ajax 时的 Cookie
Access-Control-Allow-Headers: x-requested-with,content-type,token,lang
Access-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS
Access-Control-Allow-Origin: http://***.***dev.com
Cache-Control: no-store, no-cache, must-revalidate
Connection: keep-alive
Content-Type: application/json; charset=utf-8
Pragma: no-cache 缓存
Server: nginx
Transfer-Encoding: chunked 服务器响应消息体分块编码
X-Powered-By: PHP/7.1.3
-
ETag:"5b8a4408-1eb" 304
-
Last-Modified:Sat, 01 Sep 2018 07:47:20 GMT
Request Headers
Accept:application/json, text/plain, */* 告诉服务器接受的类型
Accept-Encoding:gzip, deflate
Accept-Language:zh-CN,zh;q=0.9
Connection:keep-alive
Content-Length:17***********
Content-Type:application/json;charset=UTF-8 实体类型,浏览器申明自己接收的字符集
Cookie:_ga=GA1.2.246208185.1523325176; _ym_uid=1523325176931255977; _ym_d=1534148433; language=zh; PHPSESSID=iks842n0r7o0foccqbnglnnsn******7; eruitoken=57368f221a*********438f048da08a01dad6f0d5
Host:api.***dev.com
lang:zh
Origin:http://order.***dev.com
Referer:http://boss.***dev.com/*************
Upgrade-Insecure-Requests:1 在(/服务器的响应)头中加入:作用就是让浏览器自动升级请求HTTPS
token:57368f221a*********438f048da08a01dad6f0d5
User-Agent:Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
Request Payload / Query String Parameters
Via
当客户端请求到达第一个代理服务器时,该服务器会在自己发出的请求里面添加 Via 头部,并填上自己的相关信息,当下一个代理服务器收到第一个代理服务器的请求时,会在自己发出的请求里面复制前一个代理服务器的请求的Via部,并把自己的相关信息加到后面,以此类推,收到最后一个代理服务器的请求时,检查 Via 头部,就知道该请求所经过的路由。