GET請(qǐng)求頭
// 請(qǐng)求報(bào)文
GET http://www.reibang.com?id=XXX HTTP/1.1
// 請(qǐng)求首部字段
Host: www.reibang.com
Proxy-Connection: keep-alive
Accept: application/json
User-Agent: Chrome/57.0.2979.2 Safari/537.36
Referer: http://www.reibang.com
Accept-Encoding: gzip, deflate, sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: ...
POST請(qǐng)求頭
POST /search HTTP/1.1
Host: www.google.cn
Accept: application/json
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; TheWorld)
Referer: http://www.google.cn/
Accept-Language: zh-cn
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
Cookie: PREF=ID=80a06da87be9ae3c:U=f7167333e2c3b714:NW=1:TM=1261551909:LM=1261551917:S=ybYcq2wpfefs4V9g;
NID=31=ojj8d-IygaEtSxLgaJmqSjVhCspkviJrB6omjamNrSm8lZhKy_yMfO2M4QMRKcH1g0iQv9u-2hfBW7bUFwVh7pGaRUb0RnHcJU37y-
FxlRugatx63JLv7CWMD6UB_O_r
hl=zh-CN&source=hp&q=domety