Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using CGI exe with IW
#2
TIWCGIRunner.ResponseHeaders and TIWCGIRunner.ResponseContent both contain whatever the CGI script generated, i.e. headers and content.

In general you don't need the headers (unless there is something very specific on it, but it is not common).

You can just take the ResponseContent and write as is to the IW Response like:

if CGIRunner.StatusResult = 0 then begin
WebApplication.Response.WriteString(IWCGIRunner.ResponseContent.Text);
end;

It will work as long as your ResponseContent contains a correct representation of a valid HTML page
Reply


Messages In This Thread
Using CGI exe with IW - by cprmlao@hotmail.com - 09-08-2019, 09:06 PM
RE: Using CGI exe with IW - by Alexandre Machado - 09-09-2019, 08:57 AM
RE: Using CGI exe with IW - by Alexandre Machado - 09-10-2019, 09:27 AM
RE: Using CGI exe with IW - by Alexandre Machado - 09-10-2019, 08:55 PM
RE: Using CGI exe with IW - by Alexandre Machado - 09-10-2019, 09:03 PM
RE: Using CGI exe with IW - by Alexandre Machado - 09-12-2019, 08:34 AM
RE: Using CGI exe with IW - by Alexandre Machado - 10-08-2019, 08:32 AM
RE: Using CGI exe with IW - by Alexandre Machado - 10-08-2019, 08:38 AM
RE: Using CGI exe with IW - by Alexandre Machado - 10-08-2019, 08:24 PM
RE: Using CGI exe with IW - by kudzu - 10-08-2019, 09:51 PM
RE: Using CGI exe with IW - by Alexandre Machado - 10-09-2019, 07:46 AM
RE: Using CGI exe with IW - by Alexandre Machado - 10-09-2019, 08:01 AM
RE: Using CGI exe with IW - by Alexandre Machado - 10-09-2019, 08:08 PM
RE: Using CGI exe with IW - by kudzu - 10-09-2019, 08:14 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)