[twsocket] What is faster blocking/non blocking http transfer

2005-11-19 Thread Christian Ernst
Hello all. I tried to figure out, wht is the best to download a couple of text files. I thought it was the best to do non blocking transfers (async). In my personal tests using public servers the async routines were faster. But I saw an application using blocking transfers, which got the data i

Re: [twsocket] HTTP compression

2005-11-19 Thread Maurizio Lotauro
On 19-Nov-05 19:48:43 Francois PIETTE wrote: >> Am I right in thinking the HTTP compression stuff has not >> yet made it into a released ICS? >Indeed. It was out of my head. >I should re-read the last messages published with that subject... If you need any help to refresh your memory I'm there :

Re: [twsocket] HTTP client relocation

2005-11-19 Thread Maurizio Lotauro
On 19-Nov-05 09:59:28 Francois PIETTE wrote: >>>The question is: Should the HTTP client component implement this relative >>>path removal algorithm ? >> >> If it is formally valid yes. But it could be tricky to do because >> sometimes the relative path could be a little "strange" :-) >Can you giv

[twsocket] HTTP compression

2005-11-19 Thread Francois PIETTE
> Am I right in thinking the HTTP compression stuff has not > yet made it into a released ICS? Indeed. It was out of my head. I should re-read the last messages published with that subject... -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http:/

Re: [twsocket] HTTP client relocation

2005-11-19 Thread Angus Robertson - Magenta Systems Ltd
> We could add a new property LocationChangeMaxCount with a default > value of let's say 5 (as suggested by RFC1945 section 9.3) and an new > event OnLocationChangeExceeded taking as arguments the sender, the > current count (RelocationCount), and as a var argument, defaulting to > FALSE, a boo

Re: [twsocket] How to get with "If-None-Match" by HttpCli???

2005-11-19 Thread Francois PIETTE
There is an OnCommand event which is called for each header line. It get as var parameter the header line. Just pick one standard header line and add yours. For example: procedure TForm1.HttpCli1Command(Sender: TObject; var S: String); begin if SameText(Copy(S, 1, 5), 'Host:') then

[twsocket] How to get with "If-None-Match" by HttpCli???

2005-11-19 Thread Higer
I want to get like this GET /ieplus/layer.htm HTTP/1.1 If-Modified-Since: Sat, 17 Apr 2004 09:20:08 GMT If-None-Match: "cce5a62d5d24c41:53b" Host: cn-layer.gg888.net How can I do? - Yahoo! FareChase - Search multiple travel sites in

Re: [twsocket] HTTP client relocation

2005-11-19 Thread Francois PIETTE
>>The question is: Should the HTTP client component implement this relative >>path removal algorithm ? > > If it is formally valid yes. But it could be tricky to do because > sometimes the relative path could be a little "strange" :-) Can you give and example of "strange" relative path ? -- Con

Re: [twsocket] HTTP client relocation

2005-11-19 Thread Francois PIETTE
>> But there is another problem in relocation when the relocation is to the >> same URL, and the component gets stuck in a loop. This frequently happend because many relocations are just to grab cookies. If the application doesn't handle cookies, you end with an infinite loop. > This is an easy

Re: [twsocket] Help Files ?

2005-11-19 Thread Francois PIETTE
> I have succesfully managed a test version with your > FTP component by refering to your examples. > Thank You. > I have been hunting for the Help files to get a deeper > insight of the components but could not find them, can > you help ? There is not up to date help file available. The best help