Re: [twsocket] Help - THttpServer and PUT

2012-01-24 Thread Arno Garrels
Arno Garrels wrote: > Kamil Pavel Skála wrote: >> Hi, >> i test the ics komponent and creating RESTful service, but have >> problem with implementing unimplemented >> request PUT. I handled PUT and DELETE in the OnUnknownRequest, bud >> where is data sending by client via PUT method? >> >> Any sam

Re: [twsocket] Help - THttpServer and PUT

2012-01-24 Thread Arno Garrels
Kamil Pavel Skála wrote: > Hi, > i test the ics komponent and creating RESTful service, but have > problem with implementing unimplemented > request PUT. I handled PUT and DELETE in the OnUnknownRequest, bud > where is data sending by client via PUT method? > > Any samples or documentation? PUT

[twsocket] Help - THttpServer and PUT

2012-01-24 Thread Kamil Pavel Skála
Hi, i test the ics komponent and creating RESTful service, but have problem with implementing unimplemented request PUT. I handled PUT and DELETE in the OnUnknownRequest, bud where is data sending by client via PUT method? Any samples or documentation? I thank all Best regards, Kamil. -- To un

Re: [twsocket] [HELP] THttpServer

2006-04-11 Thread Guillaume MAISON
Francois PIETTE a écrit : >> Yop ! it works ! Thanks a lot François ! > > I don't know your application, but maybe the template feature would be > interesting for you. It is very powerful. For a demo, see > TWebServForm.CreateVirtualDocument_Template. > > The principle is simple: you prvide a H

Re: [twsocket] [HELP] THttpServer

2006-04-11 Thread Francois PIETTE
>>> do i have to do like : >>> ClientCnx.AnswerStream(); >>> ClientCnx.Docstream:=; >>> ClientCnx.SendStream; >> >> Forget anbout the two last lines ! >> Have a look at THttpConnection.AnswerStream and you'll understand. > > Yop ! it works ! Thanks a lot François ! I don't know your application, b

Re: [twsocket] [HELP] THttpServer

2006-04-11 Thread Guillaume MAISON
Francois PIETTE a écrit : >> do i have to do like : >> ClientCnx.AnswerStream(); >> ClientCnx.Docstream:=; >> ClientCnx.SendStream; > > Forget anbout the two last lines ! > Have a look at THttpConnection.AnswerStream and you'll understand. Yop ! it works ! Thanks a lot François ! regards, --

Re: [twsocket] [HELP] THttpServer

2006-04-11 Thread Francois PIETTE
sl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Guillaume MAISON" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, April 11, 2006 6:21 PM Subject: [twsocket] [HELP] THttpServer > Hi guys, > > i must be blind at thi

[twsocket] [HELP] THttpServer

2006-04-11 Thread Guillaume MAISON
Hi guys, i must be blind at this time but i don't know how to send back the content of a stream. i explain : i receive a http request with posted data. everything runs fine, i can have the posted content and analyze it, process it and then at the stage of returning the resulting stream... i don