/home/v1/Lazarus_Qt/lazarus/packager/kcMapViewer.pas(1,1) Fatal: Can't find unit httpsend used by kcMapViewer
{$mode objfpc}{$H+}
{$IFDEF USE_SYNAPSE}procedure DownloadFile(const Url: string; str: TStream);var HTTP: THTTPSend;begin HTTP := THTTPSend.Create; try HTTP.ProxyHost:='127.0.0.1'; HTTP.ProxyPort:='8080'; HTTP.ProxyUser:='user'; HTTP.ProxyPass:='password'; if HTTP.HTTPMethod('GET', URL) then begin str.Seek(0, soFromBeginning); str.CopyFrom(HTTP.Document, 0); end; finally HTTP.Free; end;end;{$ELSE}
It may be nice to add properties to the component to set the proxy.
Would you be willing to add this to Lazarus-CCR or a more formal repository ?