cgilua.contentheader("audio","x-wav") source = "CH.wav" -- cgi.source file = io.open(source,"rb") while true do buf = file:read(8192) if buf then cgilua.put(buf) else break end end file:close()