示例#1
0
文件: audio.py 项目: knorby/shearing
 def getAvailableFilesAsScript(self):
     response.headers["Content-Type"] = "application/javascript"
     response.headers["Pragma"] = "no-cache"
     response.headers["Cache-Control"] = "no-cache, no-store, max-age=1, must-revalidate"
     return "var availableAudio = %s;" % audioDB.getAudioFiles()
示例#2
0
文件: audio.py 项目: knorby/shearing
 def getAvailableFiles(self):
     response.headers["Content-Type"] = "application/json"
     response.headers["Pragma"] = "no-cache"
     response.headers["Cache-Control"] = "no-cache, no-store, max-age=1, must-revalidate"
     return audioDB.getAudioFiles()