Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Oct : Re: Delphi2007, Indy10, TidHttp, site returns 500 but has content
| Subject: | Re: Delphi2007, Indy10, TidHttp, site returns 500 but has content |
| Posted by: | "dk_sz" (dk_..@hotmail.com) |
| Date: | Fri, 19 Oct 2007 17:47:29 |
> That wouldn't be a good idea when an error occurs. The stream would not
> contain the type of data the user was expecting to receive. That could be
> disasterous depending on the type of stream being used. Imagine what
> could
> happen if a database blob or flat file failed parsing later on because
> erroneous data was saved to it.
On those cases where above holds true, it would
be quite easy to check for response code 200 etc?
(Or simply check the data downloaded.)
Anyways, I realize one can not go back now.
best regards
Thomas Schulz
none