Lines Matching refs:statusCode
237 statusCode: this.statusCode, property
248 statusCode: this.statusCode, property
255 ServerResponse.prototype.statusCode = 200; method in ServerResponse
338 this.writeHead(this.statusCode);
342 function writeHead(statusCode, reason, obj) { argument
343 const originalStatusCode = statusCode;
345 statusCode |= 0;
346 if (statusCode < 100 || statusCode > 999) {
357 this.statusMessage = STATUS_CODES[statusCode] || 'unknown';
360 this.statusCode = statusCode;
397 const statusLine = `HTTP/1.1 ${statusCode} ${this.statusMessage}\r\n`;
399 if (statusCode === 204 || statusCode === 304 ||
400 (statusCode >= 100 && statusCode <= 199)) {
588 res.statusCode = 500;