code: function _send(status, data) {
      if (!data) {
        status = statusCodes.NoContent;
      }
  
      _setHeaders.call(this);
      this.writeHead(status.code);
      if (status.code === statusCodes.NoContent.code) {
        this.end();
        return;
      }
      this.end(JSON.stringify(data || status.response || null, null, 2));
    }
docs: private methods