Home
last modified time | relevance | path

Searched refs:statusMessage (Results 1 – 25 of 36) sorted by relevance

12

/third_party/node/deps/undici/src/lib/api/
Dutil.js7 …getResolveErrorBodyCallback ({ callback, body, contentType, statusCode, statusMessage, headers }) { property
23 …sponseStatusCodeError(`Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : …
30 …sponseStatusCodeError(`Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : …
36 …sponseStatusCodeError(`Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : …
43 …sponseStatusCodeError(`Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : …
Dapi-request.js80 onHeaders (statusCode, rawHeaders, resume, statusMessage) { argument
101 { callback, body, contentType, statusCode, statusMessage, headers } property
Dapi-stream.js81 onHeaders (statusCode, rawHeaders, resume, statusMessage) { argument
104 { callback, body: res, contentType, statusCode, statusMessage, headers } property
/third_party/node/test/parallel/
Dtest-http-response-status-message.js30 { path: '/200', statusMessage: 'OK', property
32 { path: '/500', statusMessage: 'Internal Server Error', property
34 { path: '/302', statusMessage: 'Moved Temporarily', property
36 { path: '/missing', statusMessage: '', property
38 { path: '/missing-no-space', statusMessage: '', property
70 console.log(`client: expected status message: ${testCase.statusMessage}`);
71 console.log(`client: actual status message: ${response.statusMessage}`);
72 assert.strictEqual(testCase.statusMessage, response.statusMessage);
Dtest-http-status-reason-invalid-chars.js11 }, /Invalid character in statusMessage/);
15 }, /Invalid character in statusMessage/);
17 res.statusMessage = 'OK';
23 res.statusMessage = 'OK\r\nContent-Type: text/html\r\n';
25 }, /Invalid character in statusMessage/);
26 res.statusMessage = 'OK';
Dtest-http2-compat-serverresponse-statusmessage-property-set.js24 response.statusMessage = 'test';
25 response.statusMessage = 'test'; // only warn once
26 assert.strictEqual(response.statusMessage, ''); // no change
Dtest-http2-compat-serverresponse-statusmessage-property.js24 assert.strictEqual(response.statusMessage, '');
25 assert.strictEqual(response.statusMessage, ''); // only warn once
Dtest-http2-compat-serverresponse-statusmessage.js24 const statusMessage = 'OK';
26 response.writeHead(statusCode, statusMessage, headers);
Dtest-http-information-headers.js41 assert.strictEqual(res.statusMessage, 'Processing',
42 `Received ${res.statusMessage}, not "Processing".`);
Dtest-http-parser.js121 method, url, statusCode, statusMessage) => {
126 assert.strictEqual(statusMessage, 'OK');
149 method, url, statusCode, statusMessage) => {
154 assert.strictEqual(statusMessage, 'Connection established');
Dtest-http-status-message.js30 res.statusMessage = 'Custom Message';
Dtest-http-expect-handling.js41 assert.strictEqual(response.statusMessage, 'Expectation Failed');
Dtest-http2-https-fallback-http-server-options.js69 assert.strictEqual(response.statusMessage, 'OK');
Dtest-http-perf_hooks.js73 assert.strictEqual(typeof entry.detail.res.statusMessage, 'string');
Dtest-http-write-head-2.js71 assert.strictEqual(res.statusMessage, 'OK');
Dtest-http2-https-fallback.js93 strictEqual(response.statusMessage, 'OK');
/third_party/node/lib/
D_http_common.js73 url, statusCode, statusMessage, upgrade, argument
116 incoming.statusMessage = statusMessage;
D_http_server.js238 statusMessage: this.statusMessage, property
256 ServerResponse.prototype.statusMessage = undefined; method in ServerResponse
353 this.statusMessage = reason;
356 if (!this.statusMessage)
357 this.statusMessage = STATUS_CODES[statusCode] || 'unknown';
394 if (checkInvalidHeaderChar(this.statusMessage))
397 const statusLine = `HTTP/1.1 ${statusCode} ${this.statusMessage}\r\n`;
D_http_client.js647 statusMessage: res.statusMessage, property
671 statusMessage: res.statusMessage, property
D_http_incoming.js89 this.statusMessage = null;
/third_party/node/lib/internal/http2/
Dcompat.js656 get statusMessage() { getter in Http2ServerResponse
662 set statusMessage(msg) { setter in Http2ServerResponse
672 writeHead(statusCode, statusMessage, headers) { argument
680 if (typeof statusMessage === 'string')
683 if (headers === undefined && typeof statusMessage === 'object')
684 headers = statusMessage;
/third_party/node/deps/undici/src/lib/handler/
DRetryHandler.js169 onHeaders (statusCode, rawHeaders, resume, statusMessage) { argument
234 statusMessage
273 statusMessage
/third_party/jsframework/runtime/main/extend/systemplugin/napi/bundle/
DbundleInstaller.js34 statusMessage: "[PC preview] unknown statusMessage", property
/third_party/node/deps/npm/node_modules/minipass-fetch/lib/
Dindex.js265 statusText: res.statusMessage,
/third_party/node/doc/api/
Dhttp.md624 * `statusMessage` {string}
2242 ### `response.statusMessage`
2256 response.statusMessage = 'Not found';
2405 ### `response.writeHead(statusCode[, statusMessage][, headers])`
2428 * `statusMessage` {string}
2434 Optionally one can give a human-readable `statusMessage` as the second
2806 ### `message.statusMessage`

12