
27.10.2008, 00:06
|
|
Новичок
Регистрация: 16.08.2006
Сообщений: 20
Провел на форуме: 64398
Репутация:
8
|
|
Код:
http := TIdHTTP.Create(nil);
http.ConnectTimeout := 30000;
http.ReadTimeout := 30000;
html := '';
try
http.Head(url);
finally
ResponseCode := http.ResponseCode;
ResponseHead := http.ResponseText;
http.Free;
end;
|
|
|