Hello,
There are plans to TFPHttpClient implement support to HTTPS? (If yes, I will be one step closer to abandoning Synapse :) )
I'm trying this:
program project1;
{$mode objfpc}{$H+}
uses
fphttpclient;
var
Http: TFPHTTPClient;
begin
Http := TFPHTTPClient.Create(nil);
try
Write(Http.Get('
https://raw.github.com/silvioprog/brookframework/master/CONTRIBUTORS.txt'));
finally
Http.Free;
end;
end.But the result is:
C:\Users\silvioprog\Desktop\fphttpclient_tests>project1.exe An unhandled exception occurred at $004114F1:
EHTTPClient: Invalid protocol : "https"
$004114F1 TFPCUSTOMHTTPCLIENT__DOMETHOD, line 743 of C:/lazarus/fpc/2.7.1/so
urce/packages/fcl-web/src/base/fphttpclient.pp
$004117B8 TFPCUSTOMHTTPCLIENT__GET, line 776 of
C:/lazarus/fpc/2.7.1/source/
packages/fcl-web/src/base/fphttpclient.pp
$0041180E TFPCUSTOMHTTPCLIENT__GET, line 806 of
C:/lazarus/fpc/2.7.1/source/
packages/fcl-web/src/base/fphttpclient.pp
$00401675 main, line 13 of project1.lpr
