http详解

HTTP概述

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

请求网址:http://www.runoob.com/w3cnote/android-tutorial-sign-package.html
请求方法:GET
远程地址:221.236.11.99:80
状态码:
200
版本:HTTP/1.1
Referrer 政策:no-referrer-when-downgrade

响应头
HTTP/1.1 200 OK
Server: Tengine
Content-Type: text/html; charset=UTF-8
Content-Length: 15315
Connection: keep-alive
Date: Sat, 06 Apr 2019 06:36:29 GMT
X-Powered-By: HHVM/3.22.1
Link: <http://www.runoob.com/wp-json/>; rel="https://api.w.org/"
Link: <http://www.runoob.com/?p=12507>; rel=shortlink
Content-Encoding: gzip
Vary: Accept-Encoding
Ali-Swift-Global-Savetime: 1554532589
Via: cache18.l2et15-2[0,200-0,H], cache38.l2et15-2[1,0], kunlun7.cn1502[0,200-0,H], kunlun5.cn1502[3,0]
Age: 95029
X-Cache: HIT TCP_HIT dirn:10:303984030
X-Swift-SaveTime: Sun, 07 Apr 2019 04:40:20 GMT
X-Swift-CacheTime: 86400
Timing-Allow-Origin: *
EagleId: ddec0b1915546276185838135e

请求头
Host: www.runoob.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Referer: http://www.runoob.com/w3cnote/android-tutorial-intro.html
Connection: keep-alive
Cookie: Hm_lvt_3eec0b7da6548cf07db3bc477ea905ee=1554627142; Hm_lpvt_3eec0b7da6548cf07db3bc477ea905ee=1554627142; _ga=GA1.2.579069872.1554627144; _gid=GA1.2.1141492134.1554627145
Upgrade-Insecure-Requests: 1