вот пакет IExplorer
| Код | POST /Test.do HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/x-icq, application/x-shockwave-flash, */* Referer: http://Test.com/create.g?ID=4594344632117431763 Accept-Language: en-us Content-Type: application/x-www-form-urlencoded Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Embedded Web Browser from: http://bsalsa.com/; .NET CLR 1.0.3705; .NET CLR 1.1.4322) Host: Test.com Content-Length: 301 Connection: Keep-Alive Cache-Control: no-cache Cookie: __utma=73086720.2020953505.1164885088.1164893345.1164901622.4; __utmz=73086720.1164893345.3.2.utmccn=(referral)_SID=DQAAAGoAAAA_gVP_1sQ6b1wFPKRPelEEIn_Dg_...............
ID=4594344632117431763&......................... ------------------------------------- Ответ ------------------------------------------------------------------------ HTTP/1.1 302 Moved Temporarily Content-Type: text/html; charset=UTF-8 Cache-Control: private Location: /TestRedirect.g?ID1=4594344632117431763&ID2=3964918331505159400 Transfer-Encoding: chunked Content-Encoding: gzip Date: Thu, 30 Nov 2006 15:53:05 GMT Server: GFE/1.3 ----------------------------------------------------------------------------------------------------------------------- GET /TestRedirect.g?ID1=4594344632117431763&D2=6192008864615864621 HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/x-icq, application/x-shockwave-flash, */* Referer: http://Test.com/Test.g?ID=4594344632117431763 Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Embedded Web Browser from: http://bsalsa.com/; .NET CLR 1.0.3705; .NET CLR 1.1.4322) Host: Test.com Connection: Keep-Alive Cache-Control: no-cache Cookie: S=knR_Iafaxy4; __utmc=73086720; __utma=73086720.2020953505.1164885088.1164893345.1164901622.4; __utmz=73086720.1164893.................. --------------------------------------------Ответ---------------- HTTP/1.1 200 OK Content-Type: text/html; charset=UTF-8 Cache-Control: private Transfer-Encoding: chunked Content-Encoding: gzip Date: Thu, 30 Nov 2006 16:07:03 GMT Server: GFE/1.3
|
а вот indy:
| Код | POST /Test.do HTTP/1.0 Connection: keep-alive Content-Type: application/x-www-form-urlencoded Content-Length: 6994 Host: Test.com Accept: text/html, */* User-Agent: Mozilla/3.0 (compatible; Indy Library) Cookie: ID=DQAAAGkAAABeov8ZaDlN06A5BhWmqwFkU......................
ID=5897104981616456619&..............
---------------------------------------------- Ответ ---------------------------------------------- HTTP/1.0 302 Moved Temporarily Content-Type: text/html; charset=UTF-8 Cache-Control: private Location: /TestRedirect.g?ID1=5897104981616456619&ID2=7028980156965924761 Content-Length: 263 Date: Thu, 30 Nov 2006 15:54:42 GMT Server: GFE/1.3 Connection: Keep-Alive
----------------------------------------------------------------------------------------------- POST /TestRedirect.g?ID1=5897104981616456619&ID2=7028980156965924761 HTTP/1.0 Connection: keep-alive Content-Type: application/x-www-form-urlencoded Content-Length: 6994 Host: Test Accept: text/html, */* User-Agent: Mozilla/3.0 (compatible; Indy Library) Cookie: ID=DQAAAGkAAABeov8ZaDlN06A5BhWmqwFkUzhlozCNY-t90iYpW_xj4W95jrtBQ_kF1AMOc.........
ID=5897104981616456619&........................................ ---------------------------------------------- Ответ ---------------------------------------------- HTTP/1.0 405 Method Not Allowed Content-Type: text/html; charset=UTF-8 Cache-Control: private Content-Length: 159 Date: Thu, 30 Nov 2006 15:54:42 GMT Server: GFE/1.3 Connection: Keep-Alive
|
и тут ошибка от суда видно что на редирект IExplorer ответил Get-ом и прошло нормально, а вот инди почемуто отретил опять Post-ом? как это можно иправить? |