On Wed, 13 Oct 2010 13:18:10 +0200, "Lukas Gebauer" <[email protected]> wrote: >> > You must write your own code using THttpSend class directly. >> Enable >> > KeepAlive property and do subsequent requests by same THttpSend >> > instance. >> You mean to write new HTTPMethod? >> Can you give some example? > > Just code THttpSend class into your program. Like: > > var > http: THttpsend; > begin > http := thttpsend.create; > try > http.keepalive := true; > http.protocol := '1.1'; > http.method('GET', 'someurl...'); > //... > http.clear; > http.method('GET', 'some_next_url...'); > //... > http.clear; > http.method('GET', 'some_next_url...'); > //... > finally > http.free; > end; > end; >
Thank you, this is working! I was trying that way but with http.protocol := '1.0' and it was not working. Only protocol 1.1 is able to do couple HTTP request in one TCP connection. -- best regards TopLek ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
