If I put:
Response.StatusCode := 404;
In my web broker handler using TsgcWSServer_HTTPAPI_WebBrokerBridge
The TsgcWSServer_HTTPAPI_WebBrokerBridge code seems to change it back to 200 everywhere.
All send response code has the following line (unconditional):
oHeaders.Add('HTTP/1.1 200 OK');
How am I meant to return other status codes ?
Thanks.
Response.StatusCode := 404;
In my web broker handler using TsgcWSServer_HTTPAPI_WebBrokerBridge
The TsgcWSServer_HTTPAPI_WebBrokerBridge code seems to change it back to 200 everywhere.
All send response code has the following line (unconditional):
oHeaders.Add('HTTP/1.1 200 OK');
How am I meant to return other status codes ?
Thanks.