mirror of
https://github.com/remy/inliner.git
synced 2024-09-11 17:25:30 +03:00
commit
60d7cd7de6
@ -427,6 +427,7 @@ Inliner.prototype.get = function (url, options, callback) {
|
||||
if (res.statusCode !== 200) {
|
||||
inliner.emit('progress', 'get ' + res.statusCode + ' on ' + url);
|
||||
body = ''; // ?
|
||||
callback && callback(body);
|
||||
} else if (res.headers['location']) {
|
||||
return inliner.get(res.headers['location'], options, callback);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user