By Matthew Finch on Sunday, 02 March 2025
Posted in Support
Likes 0
Views 29
Votes 0
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.
View Full Post