Re: [twsocket] Problem upgrading toICSV5forDelphi/C++BuilderBeta(Nov 11, 2006)

2007-04-16 Thread Arno Garrels
David Bridges wrote: In THttpCli.DoRequestAsync a valid FURL is being passed into ParseURL but everything is coming back NULL... else begin ParseURL(FURL, Proto, User, Pass, Host, Port, FPath); FTargetHost := Host; FDocName:= FPath; FProtocol := Proto;

Re: [twsocket] httpcli v6 bad request

2007-04-16 Thread Frans van Daalen
That appears correct, the THttpCli changes a POST to a GET request when automatically redirecting. RFC1945 however say that this is wrong: That's true. We found the same thing while building an interface to one server. Note, however, the major browsers all change the POST to a GET. The

Re: [twsocket] Problem upgradingtoICSV5forDelphi/C++BuilderBeta(Nov 11, 2006)

2007-04-16 Thread David Bridges
Arno Garrels [TeamICS]: At least IcsUrl.pas (dated 01/01/2006) is included in current release, ics.zip. When I try to single step into ParseUrl I'm prompted to browse to the location of the file, not sure if that is expected or is in anyway a clue about the problem. Possibly the old ICS

Re: [twsocket] Problem upgradingtoICSV5forDelphi/C++BuilderBeta(Nov11, 2006)

2007-04-16 Thread Arno Garrels
David Bridges wrote: Arno Garrels [TeamICS]: At least IcsUrl.pas (dated 01/01/2006) is included in current release, ics.zip. When I try to single step into ParseUrl I'm prompted to browse to the location of the file, not sure if that is expected or is in anyway a clue about the problem.

Re: [twsocket] httpcli v6 bad request

2007-04-16 Thread Frans van Daalen
arggg...found it! The location url contains a space. I'm now trying to solve this. Using the OnLocationChange to adjust the url doesn't work because of --- THttpCli.StartRelocation . . . if Assigned(FOnLocationChange) then FOnLocationChange(Self); SaveLoc

[twsocket] Unique Handle of a connection with TWSocketClient

2007-04-16 Thread b-t-o
Hi, I want to write a small proxy-server. I use the tcpserver-example with a few changes. With TWSocketServer I accept incoming http-requests. With TWSocketClient I want to establish a connection to the desired destination. Received data with the client must be send back to the client

Re: [twsocket] ProblemupgradingtoICSV5forDelphi/C++BuilderBeta(Nov11, 2006)

2007-04-16 Thread David Bridges
- Original Message - From: Arno Garrels [EMAIL PROTECTED] Possibly the old ICS folder is still in the search path somewhere? Something like that has to be causing this but... I'm a Delphi guy and not very familiar with BCB. Have you carefully compared the project options of both

Re: [twsocket] Unique Handle of a connection with TWSocketClient

2007-04-16 Thread Arno Garrels
Marc, Have a look at GpHTTPProxy (Primoz Gabrijelcic) http://gp.17slon.com/gp/tgphttpproxy.htm The GpHTTPProxy is based on SocketSpy (Wilfried Mestdagh), downloadable from the User made page at the ICS website. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html [EMAIL