manually specify encoding

This commit is contained in:
AJ ONeal 2015-12-16 12:57:26 +00:00
parent 78c9daa059
commit c92a9f1864
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ module.exports.create = function (deps) {
// TODO check response header on request for cache time // TODO check response header on request for cache time
return request({ return request({
url: acmeDiscoveryUrl url: acmeDiscoveryUrl
, encoding: 'utf8'
}, function (err, resp) { }, function (err, resp) {
if (err) { if (err) {
cb(err); cb(err);