NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: AtoB on September 07, 2026, 10:02:20 AM
-
Hi All,
I want my api-server to respond in the fastest way possible for some http (4xx) errors. Just a minimal header and no body at all.
I've looked p_Web.SendError(), but it always includes .html in the response body.
What's the way to construct a minimal response?
TIA,
Ton
-
I think you'll find the current error fits inside the minimum TCP packet size. You won't see any performance difference making it smaller.
But of course you can derive your own code into the SendError (or wherever) to send back whatever you like.