Open
Description
I noticed all parsers assume utf8.
e.g. text parser:
module.exports = function(res, fn){
res.text = '';
res.setEncoding('utf8');
res.on('data', function(chunk){ res.text += chunk; });
res.on('end', fn);
};
It seems like they all should get the encoding from the response content-type header and fall back to binary (application/octet-stream) if none exists.
Can PR, if desired.