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: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Mon, 15 Oct 2007 12:17:02 |
"dk_sz" <dk_sz@hotmail.com> wrote in message
news:47121de5$1@newsgroups.borland.com...
> I can not find any stream object holding the webpage
> content.
The EIdHTTPProtocolException.ErrorMessage property holds the page data as a
String, not a Stream.
> I wish to get the webpage content as a stream.
The data is not given to you as a stream. You will have to copy it from the
ErrorMessage property into your own stream.
> There is no way to retrieve that in Indy if the
> webpage gives response code 500 I think.
Yes, there is. I already told you were to get it from.
Gambit