Merge pull request #1237 from kevNii/master

Use headers instead of whole response (npm driver)
main
Elbert Alias 8 years ago committed by GitHub
commit e6bc651903

@ -71,7 +71,7 @@ function getHTMLFromUrl(url, cb) {
var data = { var data = {
html: body, html: body,
url: url, url: url,
headers: response headers: response.headers
}; };
cb(null, data); cb(null, data);
} else { } else {

Loading…
Cancel
Save