标签:style code http color get strong
Set the TIdHTTP.HandleRedirects
property to True. It
is False by default.
function FetchUrl(const url: string): string;
var
idhttp : TIdHTTP;
begin
idhttp := TIdHTTP.Create(nil);
try
idhttp.HandleRedirects := True;
Result := idhttp.Get(url);
finally
idhttp.Free;
end;
end;
What should I do about “302 Found” exceptions when downloading with Indy?,布布扣,bubuko.com
What should I do about “302 Found” exceptions when downloading with Indy?
标签:style code http color get strong
原文地址:http://www.cnblogs.com/azhqiang/p/3782040.html