I'm having an issue wherein sending a response with a 204 - NO CONTENT status code via my NodeJS HTTP server causes the response to hang indefinitely, timing out the initiating request.
response.statusCode = 204;
response.write(preparedBody);
response.end();
The error still occurs even if preparedBody
is just the empty string.
How do I get the response to go out?