2012/6/23  <va...@ukr.net>:
> Next code works good
>
> url :=  'http://www.google.com.ua/';
>
> HTTPSend := THTTPSend.Create;
> try
>
>   HTTPSend.KeepAlive := true;
>
>   HTTPSend.KeepAliveTimeout := 300;
>   HTTPSend.TargetHost := FData.url;
>   HTTPSend.TargetPort := '80';
>   HTTPSend.Protocol := '1.1';
>
>   HTTPSend.Document.Clear;
>   HTTPSend.Headers.Clear;
>
>   if HTTPSend.HTTPMethod('get', url) then
>
>   begin
>     HTTPSend.Document.SaveToStream(stream);
>
>     ShowMessage(stream.DataString);
>
>   end;
>
> finally
>
>    HTTPSend.Free;
>
> end;
>
> but if i change  url to  'https://www.google.com.ua/' this code don`t work

Please see:

https://github.com/silvioprog/lazsolutions/wiki/Tips

-- 
Silvio Clécio
My public projects - github.com/silvioprog

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to