> After httpcli.abort is called, the statuscode is normally 404 if the
> statuscode before the call is 200.  The statuscode is 0 if the original
> statuscode is 302.  This is causing me problems (i.e. httpcli state is not
> ready after an abort is called if the statuscode was 302).  See example:
>
>  log.Lines.Add(inttostr(httpcli.StatusCode);
>  httpcli.abort;
>  log.Lines.Add(inttostr(httpcli.StatusCode);
>
> D7, ICS V6 beta V1.91

StatusCode value is valid only when or after OnRequestDone has been 
triggered.
Anyway, if you abort, you obviously know what you are doing. No need to rely 
on StatusCode.

--
[EMAIL PROTECTED]
http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to