[twsocket] HTTPClient redirection bugs

Francois PIETTE francois.piette@pophost.eunet.be
Tue, 20 Jun 2000 20:49:13 +0200


Are you using latest version from my website ?
--
francois.piette@swing.be
http://users.swing.be/francois.piette/indexuk.htm


----- Original Message -----
From: Yur Ovchinnikov <yur@sammit.kiev.ua>
To: <twsocket@elists.org>
Sent: Tuesday, June 20, 2000 9:48 AM
Subject: [twsocket] HTTPClient redirection bugs


> Hi!
>
> I use HTTPCli intensive and have a few redirect problems.
> All of this may be tested with HttpTst.dpr, including in ICS installations
> with fired OnLocationChange event.
>
> My configuration: NT40, cascade proxy server, last version of THTTPCli
>
> 1) GET http://alone.sammit.kiev.ua/favicon.ico
>
> ! Bug appears only with proxy.
>
> Status Code: 404 Not Found
> Reason Phrase: 302 Moved temporarily
>
> >From now i use Reason Phrase for getting Status Code. Ruefully...
>
> 2)  Delphi SuperPage
>
>  a) GET http://dsp.href.com/DSP:SEARCH::IntroOk ; take after <form value
for
> script
>  b) POST http://dsp.href.com/iis/iis.dll?DSP:SEARCHDSP:265776007:CKB ,
data
> =
>
txtSearch=internet&d10=Yes&D20=Yes&D30=Yes&D40=Yes&D50=Yes&WithSource=Yes&Fr
> ee=Yes
> On this fired redirection on
> http://dsp.href.com/iis/iis.dll?DSP:RESULTS:265776007 - and that's all...
No
> data was receiving - connect still alive and after 30 minuts...
> header has:
>
> cmd> POST http://dsp.href.com/iis/iis.dll?DSP:SEARCHDSP:265776007:CKB
> HTTP/1.0
> cmd> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
> cmd> Content-Type: application/x-www-form-urlencoded
> cmd> User-Agent: Mozilla/3.0 (compatible)
> cmd> Host: dsp.href.com
> cmd> Content-Length: 82
> cmd>
> cmd> POST http://dsp.href.com/iis/iis.dll?DSP:RESULTS:265776007 HTTP/1.0
> cmd> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
> cmd> Content-Type: application/x-www-form-urlencoded
> cmd> User-Agent: Mozilla/3.0 (compatible)
> cmd> Host: dsp.href.com
> cmd> Content-Length: 82
>
> If simply do POST http://dsp.href.com/iis/iis.dll?DSP:RESULTS:265776007
all
> ok.
>
> 3) On some servers redirection cycling
>
> best regards
> Yur Ovchinnikov
>
>
>
> _______________________________________________
> TWSocket mailing list [http://elists.org/mailman/listinfo/twsocket]
> Visit our website at http://www.rtfm.be/fpiette/indexuk.htm
>