主要用到的是客户端组件
#包体常量是一下内容,放到常量里就可以了
GET / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/msword, application/xaml+xml, application/x-ms-xbap, application/x-ms-application, */*
Accept-Language: zh-cn
UA-CPU: x86
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; QQDownload 733; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E)
Host: www.baidu.com
Connection: Keep-Alive
原文链接:https://www.cnblogs.com/hongyuyingxiao/p/9630482.html