Explorar o código

* Allow re-directs on downloading files from repositories

git-svn-id: trunk@36511 -
joost %!s(int64=8) %!d(string=hai) anos
pai
achega
72f2f400fe
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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