Re: [twsocket] ICS of delphi DX3 can not redirection is disabled

2013-04-26 Thread Angus Robertson - Magenta Systems Ltd
Where to get the ICS frame browser demo code? thanks. It is part of the ICS V7 and V8 distributions, in directory: .\Samples\delphi\BroswerDemo It is a full visual browser, using the THtmlViewer component from: http://code.google.com/p/thtmlviewer/ so displays most web pages, although

[twsocket] ICS of delphi DX3 can not redirection is disabled

2013-04-25 Thread xlq
I used HTTPCli of ICS in delphi 7, HTTPCli can handle redirection automatically, now I move my code to delphi XE3 and use the latest ICS, but HTTPCli can not handle redirection automatically, Is it a bug? or What am I missing? -- To unsubscribe or change your settings for TWSocket mailing list

Re: [twsocket] ICS of delphi DX3 can not redirection is disabled

2013-04-25 Thread Angus Robertson - Magenta Systems Ltd
I used HTTPCli of ICS in delphi 7, HTTPCli can handle redirection automatically, now I move my code to delphi XE3 and use the latest ICS, but HTTPCli can not handle redirection automatically, Is it a bug? or What am I missing? The 'latest' ICS still handles redirection automatically. If

Re: [twsocket] ICS of delphi DX3 can not redirection is disabled

2013-04-25 Thread xlq
The old HTTPCli is Version: 1.47 , it work fine in delphi 7 Now I use HTTPCli version is Version: 8.00 in Delphi XE3, and the link no longer redirect is: http://media.soundcloud.com/stream/EvkwidLYJX0C?stream_token=UUQGe On Thu, Apr 25, 2013 at 2:49 PM, Angus Robertson - Magenta Systems

Re: [twsocket] ICS of delphi DX3 can not redirection is disabled

2013-04-25 Thread Angus Robertson - Magenta Systems Ltd
Now I use HTTPCli version is Version: 8.00 in Delphi XE3, and the link no longer redirect Using the ICS frame browser demo, redirection works fine here, although nothing useful is displayed since it's an audio clip, some headers removed to keep this shorter: FrameBrowser Get:

Re: [twsocket] ICS of delphi DX3 can not redirection is disabled

2013-04-25 Thread xlq
I created dynamically a HTTPCli and use it to get the URL: mHttpCli:= THttpcli.Create(nil); mHttpCli.OnCommand := OnMyCommand; mHttpCli.OnHeaderData := OnMyHeaderData; mHttpCli.OnDocData:= OnMyDocData; mHttpCli.MultiThreaded := true; mHttpCli.URL

Re: [twsocket] ICS of delphi DX3 can not redirection is disabled

2013-04-25 Thread xlq
Sorry, I wrote some wrong codes in OnMyDocData, now it work fine. On Fri, Apr 26, 2013 at 8:34 AM, xlq xliuqi...@gmail.com wrote: I created dynamically a HTTPCli and use it to get the URL: mHttpCli:= THttpcli.Create(nil); mHttpCli.OnCommand := OnMyCommand;