return 200 for default avatars/renders/skins, fixes #111

This commit is contained in:
jomo
2015-03-18 01:11:49 +01:00
parent 13360430d9
commit d4b0a335c4
5 changed files with 8 additions and 8 deletions

View File

@@ -69,7 +69,7 @@ module.exports = function(req, res) {
logging.debug(rid, "matches:", matches);
sendimage(rid, http_status, status, image);
} else {
handle_default(rid, 404, status, userId);
handle_default(rid, 200, status, userId);
}
});
} catch(e) {

View File

@@ -85,7 +85,7 @@ module.exports = function(req, res) {
sendimage(rid, http_status, status, image);
} else {
logging.log(rid, "image not found, using default.");
handle_default(rid, 404, status, userId);
handle_default(rid, 200, status, userId);
}
});
} catch(e) {

View File

@@ -43,7 +43,7 @@ module.exports = function(req, res) {
logging.debug(rid, "matches:", matches);
sendimage(rid, http_status, image);
} else {
handle_default(rid, 404, userId);
handle_default(rid, 200, userId);
}
});
} catch(e) {