Registriert seit: 30. Aug 2008
208 Beiträge
FreePascal / Lazarus
|
AW: idHTTP dauerhafte Verbindung
11. Mai 2013, 20:20
Vielleicht so:
Delphi-Quellcode:
with IdHTTP1 do
begin
Request.Accept:= ' text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1';
Request.AcceptCharSet:= ' iso-8859-1, utf-8, utf-16, *;q=0.1';
Request.AcceptEncoding:= ' deflate, gzip, identity, *;q=0';
Request.Connection:= ' Keep-Alive'; //!!
Request.ContentType:= ' application/x-www-form-urlencoded';
Request.UserAgent:= ' Opera/9.80 (Windows NT 6.1; U; de) Presto/2.5.22 Version/10.51';
end;
Das Keep-Alive hört sich jedenfalls danach an.
|
|
Zitat
|