Home
last modified time | relevance | path

Searched refs:writeHead (Results 1 – 25 of 219) sorted by relevance

123456789

/third_party/node/benchmark/fixtures/
Dsimple-http-server.js83 res.writeHead(200, { 'Transfer-Encoding': 'chunked' });
86 res.writeHead(200, {
113 res.writeHead(status, { 'Transfer-Encoding': 'chunked' });
115 res.writeHead(status, { 'Content-Length': len.toString() });
119 res.writeHead(status, {
124 res.writeHead(status, {
Dsimple-https-server.js53 res.writeHead(status, {
58 res.writeHead(status, {
/third_party/node/test/parallel/
Dtest-http-status-reason-invalid-chars.js10 res.writeHead(200, 'OK\r\nContent-Type: text/html\r\n');
14 res.writeHead(200, 'OK\u010D\u010AContent-Type: gotcha\r\n');
24 res.writeHead(200);
Dtest-http2-compat-serverresponse-writehead.js18 const returnVal = response.writeHead(418, { 'foo-bar': 'abc123' });
22 assert.throws(() => { response.writeHead(300); }, {
31 response.writeHead(300);
Dtest-http-write-head-2.js11 res.writeHead(200, [ 'test', '2', 'test2', '2' ]);
28 res.writeHead(200, [ 'test', '1', 'test2', '2' ]);
47 res.writeHead(200, [ 'test', '1', 'test2', '2', 'asd' ]);
Dtest-http-1.0.js64 res.writeHead(200, { 'Content-Type': 'text/plain' });
93 res.writeHead(200, { 'Content-Type': 'text/plain' });
129 res.writeHead(200, { 'Content-Type': 'text/plain' });
Dtest-http-response-close.js29 res.writeHead(200);
54 res.writeHead(200);
Dtest-http-write-head.js54 res.writeHead(200, { Test: '2' });
57 res.writeHead(100, {});
Dtest-http-set-cookies.js31 res.writeHead(200, [['set-cookie', 'A'],
35 res.writeHead(200, [['set-cookie', 'A'],
Dtest-https-socket-options.js43 res.writeHead(200, { 'content-type': 'text/plain' });
68 res.writeHead(200, { 'content-type': 'text/plain' });
Dtest-debugger-websocket-secret-mismatch.js14 res.writeHead(200);
29 res.writeHead(101);
Dtest-http-client-agent.js34 res.writeHead(200);
38 res.writeHead(200);
Dtest-http-response-statuscode.js12 res.writeHead(header);
59 assert.throws(() => { res.writeHead(); },
Dtest-http-proxy.js39 res.writeHead(200, headers);
57 res.writeHead(proxy_res.statusCode, proxy_res.headers);
Dtest-http2-compat-serverresponse-end.js154 response.writeHead(HTTP_STATUS_OK, { foo: 'bar' });
220 response.writeHead(HTTP_STATUS_OK, { foo: 'bar' });
256 response.writeHead(HTTP_STATUS_OK, { foo: 'bar' });
291 response.writeHead(HTTP_STATUS_OK, { foo: 'bar' });
Dtest-domain-http-server.js47 res.writeHead(500, { 'content-type': 'text/plain' });
59 res.writeHead(200);
Dtest-http-contentLength0.js32 res.writeHead(200, { 'Content-Length': '0 ' });
Dtest-http-request-large-payload.js11 res.writeHead(200);
Dtest-http-request-end-twice.js28 res.writeHead(200, { 'Content-Type': 'text/plain' });
Dtest-http-url.parse-path.js36 response.writeHead(200, {});
Dtest-http-response-readable.js28 res.writeHead(200);
Dtest-http-url.parse-search.js36 response.writeHead(200, {});
/third_party/node/deps/npm/test/tap/
Dbearer-token-check.js27 res.writeHead(403, 'this token should not be sent')
30 res.writeHead(200, 'ok')
34 res.writeHead(500)
Dshrinkwrap-_auth.js58 res.writeHead(200, 'ok')
61 res.writeHead(403, 'unauthorized')
66 res.writeHead(500)
/third_party/node/lib/
D_http_server.js250 this.writeHead(this.statusCode);
253 ServerResponse.prototype.writeHead = writeHead; method in ServerResponse
254 function writeHead(statusCode, reason, obj) { function
338 ServerResponse.prototype.writeHeader = ServerResponse.prototype.writeHead;
894 res.writeHead(417);

123456789