Node.js HTTP server won't send response body with status code: 204
Because the http status code 204 means ‘no content’, even if you send body text, it won’t be sent with the request:
But if the status is 200:
it’s as expected:
This is not a complaint but an observation that Node.js is opinionated about status codes and their meaning (and I didn’t expect it to be).