3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-30 16:09:27 +01:00

mroe thingy

This commit is contained in:
reality 2013-08-21 15:27:30 +00:00
parent 284a316cd5
commit 4d130df390

View File

@ -80,6 +80,7 @@ var imgur = function(dbot) {
dbot.db.imgur.totalHttpRequests += 1; dbot.db.imgur.totalHttpRequests += 1;
var image = request(testUrl, function(error, response, body) { var image = request(testUrl, function(error, response, body) {
console.log(response.head); console.log(response.head);
console.log(response.headers);
// 492 is body.length of a removed image // 492 is body.length of a removed image
gm(body).size(function(err, val) { gm(body).size(function(err, val) {
console.log(err); console.log(err);