| 
 | 
 
仿qq修改头像,我的cookie和请求头都没有发现问题,但是返回403错误。一直没有找到问题所在,下面是正确的请求抓包 
POST /cgi-bin/cface/upload4 HTTP/1.1 
Referer: http://d.web2.qq.com/proxy.html?v=20110331002&callback=1&id=2 
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; EmbeddedWB 14.52 from: http://www.bsalsa.com/ EmbeddedWB 14.52; .NET CLR 2.0.50727) 
cookie: pt2gguin=o3122250062; uin=o3122250062; skey=@qiXO2VhIF; superuin=o3122250062; superkey=IEdsUW4Iuooqv4ckuqFEIlgsK84-yMOPNGtchfJZOsA_;  supertoken=57218867; ptisp=ctc; RK=MalKJa50lY; ptuserinfo=e296bce29980e295ad; ptcz=982cca202d8c7402e3a755563254ddf0a3c72faa528fd25bd989f02753f1ad58; ptwebqq=bc5342dc64a8a19b665d680cce8db65ee09fc02af754977d89bf58e22b91e90f; pt2gguin=o3122250062; uin=o3122250062; skey=@qiXO2VhIF; p_uin=o3122250062; p_skey=xldp6rHfRSpWZigXf7-E8x74wYV3EDuX9j4u03XERsg_; pt4_token=e00cOAU-PIrlgNc0*2DXRA__; 
Origin: http://web2.qq.com 
Content-Type: multipart/form-data; boundary=---------------------------8d1c3099b86c03e 
Accept-Encoding: gzip,deflate 
Host: cface.qq.com 
Cache-Control: no-store,no-cache 
Pragma: no-cache 
Content-Length: 12047 
Connection: Close 
 
-----------------------------8d1c3099b86c03e 
Content-Disposition: form-data; name="usertype" 
1 
-----------------------------8d1c3099b86c03e 
Content-Disposition: form-data; name="filetype" 
3 
-----------------------------8d1c3099b86c03e 
Content-Disposition: form-data; name="imagetype" 
6 
-----------------------------8d1c3099b86c03e 
Content-Disposition: form-data; name="Localeid" 
2052 
-----------------------------8d1c3099b86c03e 
Content-Disposition: form-data; name="CldVer" 
5365 
-----------------------------8d1c3099b86c03e 
Content-Disposition: form-data; name="sourceid" 
0 
-----------------------------8d1c3099b86c03e 
Content-Disposition: form-data; name="clientkey" 
undefined 
-----------------------------8d1c3099b86c03e 
Content-Disposition: form-data; name="clientuin" 
3122250062 
-----------------------------8d1c3099b86c03e 
Content-Disposition: form-data; name="sign" 
A4084D82F168C3090AD1D73C1A8BE84B86D8ACEE36BB170CB9A14D1C9D52370A37E50A3B77549485B11610F9BC54B6BE 
-----------------------------8d1c3099b86c03e 
Content-Disposition: form-data; name="url" 
 
-----------------------------8d1c3099b86c03e 
Content-Disposition: form-data; name="customfacefile" 
File Name="55.jpg" 
-----------------------------8d1c3099b86c03e 
Content-Disposition: form-data; name="customfacefile"; filename="55.jpg" 
Content-Type: image/jpeg 
 |   
 
 
 
 |