大家看看。。希望高手能给解决 谢谢了!!!procedure TForm1.Button1Click(Sender: TObject);
var
http:tidhttp;
result:string;
begin
http:=tidhttp.Create(nil);
http.Request.UserAgent:='Mozilla/5.0';
try
result:=http.Get('http://www.netzy8.cn');//这个网站读取的时候就会报错
result:=http.Get('http://www.baidu.com');//读取百度却不会报错。能正常渠道HTML代码 这是为什么呢????
except
if http.Response.ResponseCode=304 then
result:='loction'+http.Response.Location;
end;
 http.Free;
 memo1.Text:=result;
end;