mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 16:36:01 +02:00
Fixed the problem that some packages download from online package manager return status code:302 error
This commit is contained in:
parent
ae6d20b6a4
commit
cbfd897b89
@ -487,6 +487,7 @@ begin
|
||||
FreeOnTerminate := True;
|
||||
FMS := TMemoryStream.Create;
|
||||
FHTTPClient := TFPHTTPClient.Create(nil);
|
||||
FHTTPClient.AllowRedirect := True;
|
||||
if Options.ProxyEnabled then
|
||||
begin
|
||||
FHTTPClient.Proxy.Host:= Options.ProxyServer;
|
||||
|
Loading…
Reference in New Issue
Block a user