def xhttp(): keys = request.query log("XHTTP Request") return cutter.GET(keys)
def static(pth): log("Static file requested: " + pth) return static_file(pth,root="")
def mainpage(): keys = request.query log("Requesting main page") return SourceFileLoader("mainpage","mainpage.py").load_module().GET(keys)
def xhttp(): keys = request.query log("XHTTP Request") return SourceFileLoader("download", "download.py").load_module().GET(keys)