return survey.getAnswerImageData(qstnId, answrId).then(function(data) {
                    if (data === null || data.path === null || data.mime_type === null) {
                        return res.send(404);   // HTTP status 404: NotFound
                    }
                    res.contentType(data.mime_type);