sync http request powered by urllib and spawnSync.
Notice: Only support node v0.11.13+
$ npm install urllib-sync --savevar request = require('urllib-sync').request;
var res = request('https://github.com');
// res should have status, data, headersmore options please check out urllib. But unfortunately, urllib-sync do not support streams and agents now.
If options.writeFile is present, the result of request will write into this file directly.
MIT