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;
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
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
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.
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
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
- 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
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