Anonymous User
  Sunday, 02 March 2025
  2 Replies
  26 Visits
  Subscribe
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.