Skip to content

Commit

Permalink
Merge pull request remy#41 from mccartney/master
Browse files Browse the repository at this point in the history
Fixes remy#13 (in upstream)
  • Loading branch information
remy committed Jul 22, 2014
2 parents d863131 + 2f6a3bb commit 60d7cd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inliner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 60d7cd7

Please sign in to comment.