关于用idhttp发送网站http头的问题
【程序编程相关:我的共享软件防破解的实用着法 】 【推荐阅读:qq魔法表情原理,解密及其他 】近来发现在一个怪问题,第一次发送http头反回数据都正常,但第二次就不正常了,因为第一次请求时返回了一个cookie .第二次发送时就连这个cookie 也发过去了.本来也没错,但就是这个cookie 的位置不对,倒置发送的http头错误. 【扩展信息:引述:about 優化 Delphi20】看下面的的第一次请求正常:
get http://www.paymesurf.com:80/surf3.php?usrid=879 http/1.1 content-type: text/html proxy-connection: keep-alive host: www.paymesurf.com accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */* accept-language: zh-cn user-agent: mozilla/4.0 (compatible; msie 6.0; windows nt 5.0; myie2; customexchangebrowser; .net clr 1.1.4322) 返回数据: http/1.0 200 ok date: fri, 20 may 2005 06:29:55 gmt server: apache/1.3.33 (unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 php/4.3.10 frontpage/5.0.2.2635 mod_ssl/2.8.22 openssl/0.9.7a x-powered-by: php/4.3.10 set-cookie: phpsessid=66b3ae6788a076324ad5c62e8fcaedbe; path=/ expires: thu, 19 nov 1981 08:52:00 gmt cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: no-cache content-type: text/html x-cache: miss from kshield ... 下一页