GET / HTTP/1.1
Host: www . baidu . com
Connection: keep- alive
Cache- Control: max- age=0
Upgrade Insecure Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOw64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83 .0.4103.116 Safari/537.36
Accept: text/html , appl icat ion/ xhtm1+xm1 , applicat ion/xml ;q=0.9, image/webp, image/ apng, / ;q=0.8, applicat ion/signed-exchange;v=b3;q=0.9
Sec-Fetch-site: none
Sec-Fetch-Mode: navigate
Sec- Fetch-User: ?1
Sec-Fetch-Dest: document
Accept- Encoding: gzip, deflate, br
Accept-Language: zh-CN, zh;q=0.9
Cookie: BAIDUID=66C72780D96ACA4C4D02CEA955854927:FG=1; BIDUPSID-66C72780D96ACA4C4D02CEA955854927; PSTM=1593736902; BD_ HOME=1; H PS_ PSSID=31905_ 1451 31325_ 32139_ 31254 3204
32231 32107 31639; BD UPN=12314753
●200 :
成功
●302:
临时转移至新的url
●307:
临时转移至新的url
●404: not found
●500:
服务器内部错误
原文:https://www.cnblogs.com/SunChuangYu/p/13228295.html