예제 #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()