Hi All, I'm just wondering what the rational is behind THTTPSend having a default ResultCode of 500. It makes it very hard to know if the error has come from a problem connecting to the server, or a problem with the server itself.
As stated in the HTTP RFC, a status code of 500 is "Internal Server Error", and in this case there is definitely nothing wrong with the server. I personally think the ResultCode should default to 0, so you know the client didn't even make a successful connection. Since that may not change any time soon, what is the mandated way of checking that the client has successfully connected? N@ -- Natalie Vincent Developer Footy Tipping Software P: +61 3 9533 0444 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
