Fixed the problem that some packages download from online package manager return status code:302 error

This commit is contained in:
ACTom 2022-03-30 22:21:07 +08:00
parent ae6d20b6a4
commit cbfd897b89

View File

@ -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;