Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Mar : Re: Can't Get the page
| Subject: | Re: Can't Get the page |
| Posted by: | "fer" (feridunmob..@tiasoft.com) |
| Date: | Thu, 27 Mar 2008 14:31:05 |
i use Indy 10.0.76
fer
"Remy Lebeau (TeamB)" <no.spam@no.spam.com>, haber iletisinde şunları
yazdı:47eadf6f@newsgroups.borland.com...
>
> "fer" <feridunmobil@tiasoft.com> wrote in message
> news:47eacade$1@newsgroups.borland.com...
>
>> Myssl.DefaultPort := 443 ;
>
> There is no DefaultPort property. Any non-default Port values need to be
> specified in the actual URL that you pass to TIdHTTP.Get() instead.
>
>> MyHttp.Request.AcceptEncoding := 'gzip, deflate';
>
> That will not work unless you assign the TIdHTTP's Compressor property,
> which you are not doing.
>
>> MyHttp.Request.ContentType := 'application/x-www-form-urlencoded';
>
> The "Content-Type" header has no meaning when performing a GET request, as
> there is no body data transmitted.
>
>> it goes to
>>
>> raise EIdConnClosedGracefully.Create(RSConnectionClosedGracefully);
>>
>> and nothing it reads
>
> You did not say which build of Indy 10 you are actually using.
>
>
> Gambit