Unify http interface in Node.
npm install node-http
var NodeHttp = require('node-http');
var nodeHttp = new Http;
nodeHttp.on('buffer', function (buffer) {
});
nodeHttp.on(200, function (response) {
});
nodeHttp.on('Ok', function (response) {
});
nodeHttp.on('Not Found', function (response) {
});
- parse
charset
from html and content-type header
MIT