|Subject:||Browser image requests - no path Info in GET|
|Posted by:||tony meadors (tonymeado…@adelphia.net)|
|Date:||Fri, 29 Sep 2006|
In response to a POST request (providing values) my INDY server
returns an HTML file with sendfile(). That file arrives fine,
but the followup image requests made by the browser are
always filename only, no path, so they are not grabbed.
For example, this call:
ByteSent := HTTPServer.ServeFile(AThread, ResponseInfo, s);
Generates the following image call by the browser:
What I would like to get from the browser is obvious:
The image(s) are located down in the 777 directory, not in the root.
How can I have GET image references use
the same directory stem as the original htm file?
Possibly by setting values in requestinfo or responseinfo??
I bet this is an obvious one to most of you INDY fans,