谁能帮我写一个例子,http协议中get 。参数如下
get整体内容如下,最好请写全了。因为我写了部分,WebRequest中对于Proxy-Connection、UA-CPU等我不知道怎么表达
缺少了部分信息,返回的内容不对。
GET /XXX/userlogin.aspx?name=zcwh&userID=abcde HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, application/x-silverlight, */*
Referer: http://XXXX.XXXX.com/index.htm
Accept-Language: zh-cn
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 2.0.50727)
Host: sinayc1.51wan.com
Proxy-Connection: Keep-Alive
Cookie: co=7; uid=1066689; uname=abcde; cname=abcde; money=0; point=100; usertitle=abcde; pk=5565307d697b4897; mp=63b50088b7cb7761; sk=eubjccca5d6jvfg6vedqiisee3
[解决办法]
WebProxy
[解决办法]
up,不知道