> You can read the pae?


I found that yes httpcli still gets the page html, though the 404 status threw 
the ecpetion below.



Thanks for all your help on sorting it out.

> 
> I am not sure if httpcli actually gets the vanilla 404  page from the
> server.
> 
> An exception is thrown because it is a 404 status.
> 
> I am using code similar to the example that comes with ICS:
> 
> try {
>         Http->Get();
>     } __except (TRUE) {
>        // SetButtonState(TRUE)
>         dm->Lines->Add("GET Failed !");   
>         dm->Lines->Add("StatusCode   = " + IntToStr(Http->StatusCode));
>         dm->Lines->Add("ReasonPhrase = " + Http->ReasonPhrase);
> //////////////////
> //////////////////
> //////////////////    the 404 status sends the program flow here
> //////////////////
> //////////////////
> //////////////////
> //////////////////
>     }
> 
> 
> I am not sure if httpcli is getting the server's 404 template page or not.
> 
> I guess I'll try to see what the document is holding.
> 
> Thanks
> 
> I mention ed IE but really I mean browser -- system browser.
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
-- 
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