/third_party/node/test/parallel/ |
D | test-http2-compat-serverresponse-headers.js | 20 response.setHeader(real, expectedValue); 32 response.setHeader(real, expectedValue); 38 response.setHeader(denormalised, expectedValue); 63 () => response.setHeader(header, 'foobar'), 71 response.setHeader(real, null); 78 response.setHeader(real, undefined); 85 () => response.setHeader(), // Header name undefined 94 () => response.setHeader(''), 102 response.setHeader(real, expectedValue); 126 () => response.setHeader(real, expectedValue), [all …]
|
D | test-http-mutable-headers.js | 55 () => res.setHeader(), 63 () => res.setHeader('someHeader'), 90 res.setHeader('x-test-header', 'testing'); 91 res.setHeader('X-TEST-HEADER2', 'testing'); 92 res.setHeader('set-cookie', cookies); 93 res.setHeader('x-test-array-header', arrayValues); 146 res.setHeader('content-length', content.length); 151 res.setHeader('transfer-encoding', 'chunked'); 157 res.setHeader('x-foo', 'keyboard cat');
|
D | test-http-outgoing-proto.js | 18 outgoingMessage.setHeader(); 27 outgoingMessage.setHeader('test'); 36 outgoingMessage.setHeader(404); 45 outgoingMessage.setHeader.call({ _header: 'test' }, 'test', 'value'); 54 outgoingMessage.setHeader('200', 'あ');
|
D | test-debugger-websocket-secret-mismatch.js | 25 res.setHeader('Upgrade', 'websocket'); 26 res.setHeader('Connection', 'Upgrade'); 27 res.setHeader('Sec-WebSocket-Accept', 'fhqwhgads'); 28 res.setHeader('Sec-WebSocket-Protocol', 'chat');
|
D | test-http-generic-streams.js | 12 res.setHeader('Content-Type', 'text/plain'); 36 res.setHeader('Content-Type', 'text/plain'); 74 res.setHeader('Content-Type', 'text/plain'); 112 res.setHeader('Content-Type', 'text/plain'); 113 res.setHeader('Content-Length', testData.length); 137 req.setHeader('Content-Length', testData.length);
|
D | test-http-set-header-chain.js | 12 let retval = res.setHeader('testheader1', 'foo'); 17 retval = res.setHeader('testheader2', 'bar').setHeader('testheader3', 'xyz');
|
D | test-http-write-head.js | 31 res.setHeader('test', '1'); 36 () => res.setHeader(0xf00, 'bar'), 46 () => res.setHeader('foo', undefined),
|
D | test-http2-server-set-header.js | 12 res.setHeader('foobar', 'baz'); 13 res.setHeader('X-POWERED-BY', 'node-test'); 14 res.setHeader('connection', 'connection-test');
|
D | test-http-automatic-headers.js | 7 res.setHeader('X-Date', 'foo'); 8 res.setHeader('X-Connection', 'bar'); 9 res.setHeader('X-Content-Length', 'baz');
|
D | test-http-raw-headers.js | 68 res.setHeader('Trailer', 'x-foo'); 84 req.setHeader('transfer-ENCODING', 'CHUNKED'); 85 req.setHeader('x-BaR', 'yoyoyo');
|
D | test-http-response-add-header-after-sent.js | 7 res.setHeader('header1', 1); 10 () => res.setHeader('header2', 2),
|
D | test-http-invalidheaderfield.js | 12 res.setHeader('testing_123', 123); 14 res.setHeader('testing 123', 123);
|
D | test-http2-compat-serverresponse-headers-after-destroy.js | 18 response.setHeader('test', 'value'); 22 response.setHeader('test', 'value');
|
D | test-http-response-multiheaders.js | 37 res.setHeader(name, ['A', 'B']); 39 res.setHeader('X-A', ['A', 'B']);
|
D | test-http-server-capture-rejections.js | 13 res.setHeader('content-type', 'application/json'); 51 res.setHeader('content-type', 'application/json');
|
D | test-http-flush-headers.js | 18 req.setHeader('foo', 'bar');
|
D | test-http2-removed-header-stays-removed.js | 8 response.setHeader('date', 'snacks o clock');
|
/third_party/node/benchmark/fixtures/ |
D | simple-http-server.js | 78 res.setHeader('Content-Type', 'text/plain'); 79 res.setHeader('Transfer-Encoding', 'chunked'); 82 res.setHeader('Content-Type', 'text/plain'); 104 res.setHeader('Content-Type', 'text/plain'); 106 res.setHeader('Transfer-Encoding', 'chunked'); 108 res.setHeader('Content-Length', len.toString()); 111 res.setHeader('Content-Type', 'text/plain');
|
/third_party/node/deps/npm/node_modules/request/ |
D | request.js | 290 self.setHeader(hostHeaderName, self.uri.host) 295 self.setHeader(hostHeaderName, self.uri.hostname) 387 self.setHeader('accept-encoding', 'gzip, deflate') 398 self.setHeader('proxy-authorization', authHeader) 435 self.setHeader('content-length', length) 500 self.setHeader('content-type', mime.lookup(src.path)) 506 self.setHeader(i, src.headers[i]) 511 self.setHeader('content-type', 'application/json') 562 self.setHeader('content-length', 0) 570 self.setHeader(self._form.getHeaders(), true) [all …]
|
/third_party/node/deps/npm/node_modules/socks-proxy-agent/node_modules/agent-base/test/ |
D | test.js | 249 res.setHeader('X-Foo', 'bar'); 250 res.setHeader('X-Url', req.url); 276 res.setHeader('X-Foo', 'bar'); 277 res.setHeader('X-Url', req.url); 305 res.setHeader('X-Foo', 'bar'); 306 res.setHeader('X-Url', req.url); 333 res.setHeader('X-Url', req.url); 431 res.setHeader('X-Foo', 'bar'); 432 res.setHeader('X-Url', req.url); 513 res.setHeader('X-Foo', 'bar'); [all …]
|
/third_party/node/deps/npm/node_modules/agent-base/test/ |
D | test.js | 250 res.setHeader('X-Foo', 'bar'); 251 res.setHeader('X-Url', req.url); 277 res.setHeader('X-Foo', 'bar'); 278 res.setHeader('X-Url', req.url); 306 res.setHeader('X-Foo', 'bar'); 307 res.setHeader('X-Url', req.url); 334 res.setHeader('X-Url', req.url); 432 res.setHeader('X-Foo', 'bar'); 433 res.setHeader('X-Url', req.url); 514 res.setHeader('X-Foo', 'bar'); [all …]
|
/third_party/node/deps/npm/node_modules/request/lib/ |
D | multipart.js | 50 self.request.setHeader('transfer-encoding', 'chunked') 56 self.request.setHeader('content-type', 'multipart/related; boundary=' + self.boundary) 61 self.request.setHeader('content-type', header + '; boundary=' + self.boundary)
|
D | redirect.js | 72 request.setHeader('authorization', authHeader) 144 request.setHeader('referer', uriPrev.href)
|
/third_party/node/benchmark/async_hooks/ |
D | async-resource-vs-destroy.js | 142 res.setHeader('content-type', 'application/json'); 153 res.setHeader('content-type', 'application/json');
|
/third_party/node/benchmark/http/ |
D | set_header.js | 24 og.setHeader(value, '');
|