Home
last modified time | relevance | path

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

/third_party/node/test/parallel/
Dtest-http-proxy.js49 }, function(proxy_res) { argument
51 console.error(`proxy res headers: ${JSON.stringify(proxy_res.headers)}`);
53 assert.strictEqual(proxy_res.headers.hello, 'world');
54 assert.strictEqual(proxy_res.headers['content-type'], 'text/plain');
55 assert.deepStrictEqual(proxy_res.headers['set-cookie'], cookies);
57 res.writeHead(proxy_res.statusCode, proxy_res.headers);
59 proxy_res.on('data', function(chunk) {
63 proxy_res.on('end', function() {