Browse Source

* Allow re-directs on downloading files from repositories

git-svn-id: trunk@36511 -
joost 8 years ago
parent
commit
72f2f400fe
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fppkg/src/pkgfphttp.pp

+ 1 - 0
packages/fppkg/src/pkgfphttp.pp

@@ -22,6 +22,7 @@ Procedure TFPHTTPDownloader.HTTPDownload(Const URL : String; Dest : TStream);
 begin
   With TFPHTTPClient.Create(Nil) do
     try
+      AllowRedirect := True;
       Get(URL,Dest);
       Dest.Position:=0;
     finally