Re: [twsocket] HttpCli and the 404 status code

2005-04-20 Thread Maurizio Lotauro
Scrive Francois PIETTE <[EMAIL PROTECTED]>: > > > Probably a solution could be to expose the FRequestDoneError field. > > > The status code should be meaningful only if FRequestDoneError=0. > > I verifyed and actually the OnRequestDone error reflect the winsock error ! Who use sync operation wil

Re: [twsocket] HttpCli and the 404 status code

2005-04-20 Thread Francois PIETTE
> > Probably a solution could be to expose the FRequestDoneError field. > > The status code should be meaningful only if FRequestDoneError=0. I verifyed and actually the OnRequestDone error reflect the winsock error ! -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your

Re: [twsocket] HttpCli and the 404 status code

2005-04-20 Thread Maurizio Lotauro
Scrive Francois Piette <[EMAIL PROTECTED]>: > > Probably a solution could be to expose the FRequestDoneError field. > > The status code should be meaningful only if FRequestDoneError=0. > > You mean reporting 10060 (and others) to the error field ? If you mean FRequestDoneError yes. > Yes, prob

Re: [twsocket] HttpCli and the 404 status code

2005-04-18 Thread Marcello Vezzelli
Maurizio Lotauro wrote: I noticed that the HttpCli component return the 404 status code not only when the server return this code but even under different situations. For example when it is unable to resolve the hostname or when wsocket raise an error (please correct me if I'm wrong). I noticed thi

Re: [twsocket] HttpCli and the 404 status code

2005-04-18 Thread Francois Piette
isting application code would be broken ! -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Maurizio Lotauro" <[EMAIL PROTECTED]> To: Sent: Sunday, April 17, 2005 12:00 AM Subject: [twsocket] HttpCli and the 404 status code > Hello, > > I not

[twsocket] HttpCli and the 404 status code

2005-04-17 Thread Maurizio Lotauro
Hello, I noticed that the HttpCli component return the 404 status code not only when the server return this code but even under different situations. For example when it is unable to resolve the hostname or when wsocket raise an error (please correct me if I'm wrong). This is a problem because th