Home
last modified time | relevance | path

Searched refs:statusCode (Results 1 – 2 of 2) sorted by relevance

/unit/src/nodejs/unit-http/
H A Dhttp_server.js31 ServerResponse.prototype.statusCode = 200; method in ServerResponse
171 function writeHead(statusCode, reason, obj) { argument
172 var originalStatusCode = statusCode;
174 statusCode |= 0;
176 if (statusCode < 100 || statusCode > 999) {
185 this.statusMessage = http.STATUS_CODES[statusCode] || 'unknown';
191 this.statusCode = statusCode;
214 this.writeHead(this.statusCode);
221 this._send_headers(this.statusCode, this.headers, this.headers_count,
364 ServerRequest.prototype.statusCode = function statusCode() { method in ServerRequest
H A Dwebsocket_request.js267 response.statusCode = 101;
462 response.statusCode = status;