Lines Matching refs:httpRes
270 function onResponse(httpRes) { argument
273 if (httpRes.statusCode !== 200) {
275 `Unexpected ${httpRes.statusCode}: ${resBody}`
288 httpRes.on('error', reject);
289 httpRes.on('data', (chunk) => ArrayPrototypePush(chunks, chunk));
290 httpRes.on('end', parseChunks);
330 httpReq.on('response', (httpRes) => {
331 if (httpRes.statusCode >= 400) {
332 process.stderr.write(`Unexpected HTTP code: ${httpRes.statusCode}\n`);
333 httpRes.pipe(process.stderr);
335 httpRes.pipe(process.stderr);