function (method, path, cb) {

    http.request({hostname: DEFAULT_HOST, port: DEFAULT_PORT, path: path, method: method}, function (res) {

        res.pipe(concat({encoding: 'string'}, function (data) {
            cb(data, res.headers, res.statusCode);
        }));

    }).end();

}
function (method, path, cb) {

    http.request({hostname: DEFAULT_HOST, port: DEFAULT_PORT, path: path, method: method}, function (res) {

        res.pipe(concat({encoding: 'string'}, function (data) {
            cb(data, res.headers, res.statusCode);
        }));

    }).end();

}
function ( method , path , cb ) { http . request ( { hostname : DEFAULT_HOST , port : DEFAULT_PORT , path : path , method : method } , function ( res ) { res . pipe ( concat ( { encoding : 'string' } , function ( data ) { cb ( data , res . headers , res . statusCode ) ; } ) ) ; } ) . end ( ) ; }
test utility for requesting the server
test utility for requesting the server