ISAPI based HTTPAPI (TROHttpApiDispatcher)

Hi

I would like to create an ISAPI dll with RemObjects SDK and TROHttpApiDispatcher.
(I am running Delphi 10.3 - and RemObjects SDK 10.0.0.1549.)

I tried the MegaDemoISAPI.dll and got that running on a IIS web server. (no problem)

But after adding TROHttpApiDispatcher to “MegaDemoISAPIMainForm” and setting the server property - it doesn’t work any more (I don’t get the RODL response and /api/ doesn’t work either)

The error message is : “Site can’t be reached - ERR_RESPONSE_HEADERS_TRUNCATED”

So my question is : is it possible to use TROHttpApiDispatcher in an ISAPI server - and if so how to do it??

Thanks in advance
Christian

Hi,

update uROWebBrokerServer.pas as

function TROWebBrokerServer.IsHTTPS: Boolean;
begin
  if fRequest = nil then
    Result := False
  else
    Result := fRequest.GetFieldByName('HTTPS') = 'on';
end;

Logged as bugs://D19353.

bugs://D19353 was closed as fixed.

Yes! works here too - moving on.