(res, body, encoding, contentType)
| 26 | |
| 27 | test.suite(function (env) { |
| 28 | function writeResponse(res, body, encoding, contentType) { |
| 29 | res.writeHead(200, { |
| 30 | 'Content-Length': Buffer.byteLength(body, encoding), |
| 31 | 'Content-Type': contentType, |
| 32 | }) |
| 33 | res.end(body) |
| 34 | } |
| 35 | |
| 36 | function writePacFile(res) { |
| 37 | writeResponse( |
no test coverage detected