Re: [twsocket] FW: problem with Httpcli and Tstream and Delphi 2009

2009-12-19 Thread Arno Garrels
David Rodriguez Salazar wrote: > Arno, > > > > It works, thank you very much You are welcome, but note that converting to ANSI with current code page was not neccessarily correct. The code page or accepted encoding can be retrieved from either the content-type attribute of the form, the htt

Re: [twsocket] FW: problem with Httpcli and Tstream and Delphi 2009

2009-12-19 Thread David Rodriguez Salazar
Arno, It works, thank you very much Saludos David Rodriguez Salazar > From: arno.garr...@gmx.de > To: twsocket@elists.org > Date: Sat, 19 Dec 2009 12:07:06 +0100 > Subject: Re: [twsocket] FW: problem with Httpcli and Tstream and Delphi 2009 > > David Rodriguez Salazar wrote: > >

Re: [twsocket] FW: problem with Httpcli and Tstream and Delphi 2009

2009-12-19 Thread Arno Garrels
David Rodriguez Salazar wrote: > > I always use the examples of ICS application to write my programs, Is > there another way to do a Post function without using tstream. The demo still contains a Unicode bug! procedure THttpTestForm.PostOrPut(Request: THttpRequest); var DataOut : TMemoryStr

Re: [twsocket] FW: problem with Httpcli and Tstream and Delphi 2009

2009-12-19 Thread David Rodriguez Salazar
Hello, If I use the option GET in the example HTTP Test, it doest work because the data send incorrectly similar effect when I use post. Remember I only using the example provide in the ICS Packet. Saludos David Rodriguez Salazar From: david...@hotmail.com To: twsocket@elists.or

Re: [twsocket] FW: problem with Httpcli and Tstream and Delphi 2009

2009-12-19 Thread David Rodriguez Salazar
Hello Arno, I am using the example including in the ICS, "HTTP Test" in the opcion of data I Wrote "test=2" and then I use the POST button, under other versions of delphi always works fine but with delphi 9 dont work, it seems that tstream works with char type. I used the Wireshark to see th

Re: [twsocket] FW: problem with Httpcli and Tstream and Delphi 2009

2009-12-19 Thread Arno Garrels
Hello David > I have a problem with this component ICSHttpprotocol under delphi 9, > the problem is when I send data using post, the data is converted in > the new style of delphi 9 (char = 2 bytes), ICS does not convert posted data. It sends the content of the stream as is, byte per byte. >