def get(self): from utils.utils import tpl_path from utils.webapp import template path = tpl_path('utils/404.html') template_values = {'no_load': True} response = Response() response.set_status(404) response.out.write(template.render(path, template_values))